Slick Forums
http://slick.ninjacave.com/forum/

PNGImageData doesnt support grayscaled pngs
http://slick.ninjacave.com/forum/viewtopic.php?f=4&t=3402
Page 1 of 1

Author:  ArtificialZero [ Mon Jun 20, 2011 4:31 pm ]
Post subject:  PNGImageData doesnt support grayscaled pngs

Code:
org.newdawn.slick.opengl.PNGImageData failed to read the data
java.io.IOException: unsupported color format


either Grayscale OR/AND GrayScale + Alpha, not supported by the PNG Reader

Since I didn't find any documentation about this, correct if I'm wrong, I consider this a bug.

Author:  MatthiasM [ Mon Jun 20, 2011 8:04 pm ]
Post subject: 

Slick's PNG decoder is based on a very old version of the TWL PNGDecoder.
In order to resolve these PNG loading issues I suggest to upgrade Slick's loader to the latest version of the TWL PNGDecoder.

Author:  davedes [ Sun Mar 04, 2012 10:25 pm ]
Post subject:  Re: PNGImageData doesnt support grayscaled pngs

Fixed in dev branch thanks to Nitram's patch.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/