BUG: MNG support broken with some files in GFL SDK 3.40

Discussions on GFL SDK, the graphic library for reading and writing graphic files

Moderators: XnTriq, xnview

ZwickySoft
Posts: 1
Joined: Tue Aug 16, 2011 4:24 pm

BUG: MNG support broken with some files in GFL SDK 3.40

Post by ZwickySoft »

The first and third images (ie. DUTCH1.MNG and DUTCH3.MNG) from http://www.libmng.com/MNGsuite/basic_img.html are not recognised by GFL SDK 3.40 (version info in DLL says 3.11, but the web page says 3.40). They are correctly displayed in XnView. The second image is correctly recognised and decoded by GFL SDK 3.40.

gflGetFileInformation() and gflLoadBitmap() both return GFL_ERROR_UNKNOWN_FORMAT when passed these files. There may be problems with these two files in other GFL functions, but I have only tested the two functions mentioned.