Hi. Ive been having a go at writing my own dupe detector in VB6. Alls going well until my app hits a PNG file that has a res of 10000 x 7457 x 32.
The code fails inside the VB6 wrapper function \'Freeimage_LoadEx\' when the function\'s built-in error trap triggers. Looking at the code it seems the error is raised if the call to Freeimage_Load returns NULL, which is happening in the case of my test image and the original.
I then try to recreate the bug with a new image. Same dimensions, same format. I get a completely new bug. In my app I convert the loaded image to 32bpp for processing (if it isn\'t already) and I find that Freeimage_ConvertTo32Bits is returning NULL.
Freeimage_GetBpp was reporting that my test image was only 24bit while the original was 32 so I compared my test image with the original and I find that the original has a mask while my test image didn\'t. I added it and the original bug returned.
This bug was occurring with 3.14.1 and 3.15.1
Test image : http://www.jcomcp.plus.com/test.png