• Advertisement
Sign in to follow this  

Extended .bmp file format

This topic is 4711 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm writing a .bmp loader and I noticed a couple extended versions of BITMAPINFOHEADER (BITMAPV4HEADER and BITMAPV5HEADER). I also see that they support PNG and JPEG encoding. I'm curious as to whether these extensions pertain to the .bmp file format or are just used when interfacing with GDI.

Share this post


Link to post
Share on other sites
Advertisement
dcosborn,

Basically, if you use the CreateDIBBitmap, you can also pass it one of those other header formats instead and it can decode any of those formats. If you are writing your own, don't worry about these other formats, they are windows specific.

-brad

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement