Page 1 of 1

BMP save/load problem

PostPosted: Feb 28, 2006 @ 12:09pm
by no pockets
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.