In bmp.c at line 639, this code:
Code: Select all
/*
Microsoft Windows BMP image file.
*/
if (bmp_info.size < 40)
ThrowReaderException(CorruptImageError,"NonOS2HeaderSizeError");
bmp_info.width=(short) ReadBlobLSBLong(image);
bmp_info.height=(short) ReadBlobLSBLong(image);
Code: Select all
/*
Microsoft Windows BMP image file.
*/
if (bmp_info.size < 40)
ThrowReaderException(CorruptImageError,"NonOS2HeaderSizeError");
bmp_info.width= ReadBlobLSBLong(image);
bmp_info.height= ReadBlobLSBLong(image);
Pete