PocketMatrix forums

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

BMP save/load problem

After I save the surface to BMP file (using SaveImage) I can't load it back via LoadImage - maybe someone met this problem?
And the image saved can't be read by a number of image viewers - Invalid Format message appears. However, it can be read with Photoshop.

I guess the problem is with BITFIELD compression flag which is used to store 565 color bits. If I remove the BITFIELD flag, image loads but the colors are corruped of course.

Trying to get it work on 2002 device - ipaq1910.
With WM5 patch, on 1950 saved bitmap loads OK.