c# - Bad RawFormat when loading emf file -
I am trying to load an emf file in an image object, though RawFormat is always false {[ImageFormat: b96b3cac -0728-11d3-9 d7b-0000f81ef32e]} Instead of trying to load an EMF file from the stream and the memory stream, I have also tried to create a metafile object instead of an image but it has no effect. Is it a bug or is there any other trick I do not know?
MemoryStream Stream = new memorystream (image data); // Image data is a byte array Image tempImage = Image.FromStream (stream);
Is this help?
The system. Drawing Imaging ImageFormat.Emf.Guid = {B96b3cac-0728-11d3-9-7-7-0000f81ef32e}
Donation
Comments
Post a Comment