Bug in SDL_Image?

Hi,

I’ve found that SDL_Image loads the file
http://activekitten.com/files/system.png (693 bytes)
but surface is broken and can’t be displayed properly.

the file was created with Photoshop 7. I can open it with ACDSEE and
Photoshop. Though a few programs can’t open it as well.
It seems that SDL_Image can’t load 1/2/4 bpp images.–
Best regards,
Dmitry Yakimov, ISDEF member
ActiveKitten.com

Dmitry Yakimov wrote:

Hi,

I’ve found that SDL_Image loads the file
http://activekitten.com/files/system.png (693 bytes)
but surface is broken and can’t be displayed properly.

the file was created with Photoshop 7. I can open it with ACDSEE and
Photoshop. Though a few programs can’t open it as well.
It seems that SDL_Image can’t load 1/2/4 bpp images.

That image is invalid, it’s missing an IEND chunk. (odd that IMG_Load
doesn’t return null though)

Hello, Dmitry!

DY> the file was created with Photoshop 7. I can open it with ACDSEE and
DY> Photoshop. Though a few programs can’t open it as well.
DY> It seems that SDL_Image can’t load 1/2/4 bpp images.

Latest IE also is not able to show this image too :slight_smile: So blame Photozhop :slight_smile:

As for ACDSee, it’s still not able show the alpha channel of pngs properly,
so it’s not a activity of standart :slight_smile:

With best regards, Mike Gorchak. E-mail: @Mike_Gorchak