Transparent 24-32 bit images

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Rowan Lewis
Posts: 24
Joined: Tue Jul 11, 2006 2:24 pm
Contact:

Transparent 24-32 bit images

Post 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?
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post 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.
Rowan Lewis
Posts: 24
Joined: Tue Jul 11, 2006 2:24 pm
Contact:

Post 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...
Vuen
Posts: 25
Joined: Tue Jul 11, 2006 8:03 am

Post by Vuen »

Irrlicht will not load interlaced PNG files. Make sure they're not interlaced.
Post Reply