Page 1 of 1

Transparent 24-32 bit images

Posted: Mon Jul 17, 2006 1:32 am
by Rowan Lewis
Ok, I'm a little confused about something, you see I have one texture, which is a transparent PNG which I'm using to draw the cursor, then I have a larger one that I want to use for the background, however, the background image refuses to load:
PNG LOAD: Failure - Format not supported - must be 24 or 32 bits per pixel
I'm not sure why this is, as Photoshop says that both of the images are RGB/8 bit (which is 3*8=24), and one of them loads. The only real difference is that one of the images is 2048x2048 and the other, the one that loads is 32x32.

What am I doing wrong? Should I be using another file format?

Posted: Mon Jul 17, 2006 8:34 am
by hybrid
The SVN version should contain all necessary patches to have png files working again. I think the buffer was too small and thus refused to load everything larger than 1023 pixels wide.

Posted: Mon Jul 17, 2006 9:26 am
by Rowan Lewis
Thanks, I'll confirm this once I've downloaded and compiled.

I'm using DeusXLs Irrlicht.Net wrapper, so I'll have to work out how update that too...

Posted: Mon Jul 17, 2006 2:57 pm
by Vuen
Irrlicht will not load interlaced PNG files. Make sure they're not interlaced.