KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm working with GDI+ and I create a new bitmap like this: var bmp = new Bitmap(width, height); now when I observe its RawFormat.Guid I see that it is different from all predefined ImageFormats (while I expect it to be JPEG). ImageFormat.Jpeg.Guid {b96b3cae-0728-11d3-9d7b-0000f81ef32e} format.Guid {b96b3caa-0728-11d3-9d7b-0000f81ef32e} Interesting part is that as you can see they are identical except one character which makes me even more confused. Any idea why? Which parts of code determines what is the RawFormat of the bitmap I create? How can we ensure it's a valid ImageFormat? Thanks.
Tags (comma-separated)
Save Edits
Cancel