PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

PNG load from resource gives GDERR_BITMAPNOTFOUND

I am trying to load a png file from a resource (GD 2.0.4) and it works fine on the PC but fails on the PocketPC.

The error is GDERR_BITMAPNOTFOUND. I believe I have set up the resources correctly (I can double click from the File View pane and they pop up the XP image browser no problem...

Do PNG files have to be in a certain format that works on PC but not on PPC? I created them in Photoshop 6 saved as PNG interlace=none - 24 bit I assume...
Verify your image path on the device - that is the usual cause of load errors.
Thanks G.R.

Although in this case it's a resource so path should only be an issue at compile time.

I changed it to load from file and it works fine with the same png files but load from resource still doesn't seem to work... very odd!