Unsupported image format in Image Lib

I just compiled the image lib 1.06.
As with the previous i version i get an "Unsupported image format"
when i try to load pcx or png images. You wrote that png isnt
supported under win but i want to know what is the problem is because there
is several source for png that works under all platforms.

I followed a topic about the pngs in this list, but my pngs (sizeof
16x16 or 32x32) are always rejected by the loader.

I didnt know much about png, coz i used tga’s with alpha channel
before but pngs could be a good alternative for the future.–
Best regards,
Joern mailto:@Joern_Woerdehoff

I found that SDL_Image used to have problems detecting the png libraries
when I set it up for cross-compiling. I had to sortof hack it to get it
to compile right.

Did you compile it yourself?
When you did ./configure – did you notice that it couldn’t find libz or
libpng?–
Brian

On Mon, 15 May 2000, Joern Woerdehoff wrote:

I just compiled the image lib 1.06.
As with the previous i version i get an "Unsupported image format"
when i try to load pcx or png images. You wrote that png isnt
supported under win but i want to know what is the problem is because there
is several source for png that works under all platforms.

I followed a topic about the pngs in this list, but my pngs (sizeof
16x16 or 32x32) are always rejected by the loader.

I didnt know much about png, coz i used tga’s with alpha channel
before but pngs could be a good alternative for the future.


Best regards,
Joern mailto:joernw at clipart.de

Hello hayward,

Tuesday, May 16, 2000, 1:15:53 AM, you wrote:

hso> I found that SDL_Image used to have problems detecting the png libraries
hso> when I set it up for cross-compiling. I had to sortof hack it to get it
hso> to compile right.

hso> Did you compile it yourself?
hso> When you did ./configure – did you notice that it couldn’t find libz or
hso> libpng?

hso> –
hso> Brian

hso> On Mon, 15 May 2000, Joern Woerdehoff wrote:

Oh oh, i am a lazy programmer and didnt start with the work on the
linux machine now. I compiled it under VC6 and i didnt know it wants
to link with the png lib. It compiled without errors.

Where do i get the pnglib source(s) to compile with the sdl_image?
Haha that would be a good reason why it didnt load pngs. :)–
Best regards,
Joern mailto:@Joern_Woerdehoff

Forget my last email, i should start to read the readme’s.:)–
Best regards,
Joern mailto:@Joern_Woerdehoff

Oh oh, i am a lazy programmer and didnt start with the work on the
linux machine now. I compiled it under VC6 and i didnt know it wants
to link with the png lib. It compiled without errors.

Where do i get the pnglib source(s) to compile with the sdl_image?
Haha that would be a good reason why it didnt load pngs. :slight_smile:

source is on my site:
www.slothmud.org/~hayward/Xmingw32

I can’t help with getting it to compile under windows though.
GOod luck :-)–
Brian

hso> source is on my site:
hso> www.slothmud.org/~hayward/Xmingw32

hso> I can’t help with getting it to compile under windows though.
hso> GOod luck :slight_smile:
hso> –
hso> Brian

I just fetched PNG and Zlib and all stuff works now as it should.
Next time i read the docs before i ask. But thanks anyway.–
Best regards,
Joern mailto:@Joern_Woerdehoff