PocketMatrix forums

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

Posible Bmp Bug

Posible BUG?

Code:

Surface surf;
surf.create(TEXT("file.bmp")); //Here ReturnCode::OK
pBackBuffer->bltFast(0,0,&surf;); //Here ReturnCode::INVALID_COORD (Code: 2)


Here is a picture:
http://psi.teoretiki.ru/pics/file.bmp


And :
Code:

aSurface surf;
Font font;
surf.create(TEXT("file.bmp"));

font.createFont(" 0123456",&surf;,RGB(248,3,248));//This line freeze a programm...




If I convert BMP to GIF all works fine without any errors.

May be some bugs in BMP reading? Or this BMP have a strange format.
Hi,

We've moved post to a new thread.
We are currently working on this.

Thank you very much for your feedback,
Sergio.