Donate Share

EasyBMP Cross-Platform Bitmap Library

File Release Notes and Changelog

Release Name: EasyBMP Library Files Version 1.00

Notes:
This release fixes the last known bugs in EasyBMP and changes 
the project to Production/Stable status.

Also, small changes were made to the BMP class to better 
support horizontal and vertical DPI settings. Placeholder 
data members were added to the BMP class to support metadata 
in a future release.

Lastly, numerous code and comment cleanups were done through-
out the code and change log. 

Changes: Version: 1.00 Date: 02-06-2006 First Production/Stable release. Corrected typographical errors in the comment sections of all files. Updated copyright on all files. Removed extraneous comment in BMIH::BMIH() function in EasyBMP_DataStructures.h file. Replaced instances of \n with the more modern endl in EasyBMP_DataStructures.h, EasyBMP_BMP.h, and EasyBMP_VariousBMPutilities.h. Added placeholder MetaData1 and MetaData2 data members to the BMP class for potential future use. Removed extraneous comments from EasyBMP_BMP.h. Removed warning messages for switching endianness from EasyBMP_VariousBMPutilities.h. Updated copyright in EasyBMP_ChangeLog.txt file. Fixed formatting issues in EasyBMP_ChangeLog.txt file. Added DefaultXpelsPerMeter and DefaultYpelsPerMeter in EasyBMP.h. These will default to 96 dpi. Changed BMP::WriteToFile() to use DefaultXpelsPerMeter and DefaultYpelsPerMeter when writing the BMIH structure. Added XpelsPerMeter and YpelsPerMeter data members to BMP class so that horizontal and vertical resolution are handled properly. Currently, upon reading a file, the stated resolutions are preserved, and upon writing, if no resolutions are given, the defaults (of 96 DPI) are used. Added function void BMP::SetDPI(int,int) to set the horizontal and vertical resolutions. Removed some unnecessary code from GetBitmapColorDepth() in EasyBMP_VariousBMPutilities.h. Fixed a bug in RangedPixelToPixelCopyTransparent() and RangedPixelToPixelCopy() in EasyBMP_VariousBMPutilities.h which caused copies to be truncated by an extra row or column in certain circumstances. Fixed a bug in RangedPixelToPixelCopyTransparent() and RangedPixelToPixelCopy() in EasyBMP_VariousBMPutilities.h which checked the wrong variable (FromT instead of FromB) to see if it was out of range. Added extra checks to RangedPixelToPixelCopyTransparent() and RangedPixelToPixelCopy() in EasyBMP_VariousBMPutilities.h to prevent attempted access of out-of-range pixels.