Slick Forums

Discuss the Slick 2D Library
It is currently Sat Feb 23, 2019 12:14 am

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Mon Jun 20, 2011 4:31 pm 
Offline
User avatar

Joined: Mon Jun 20, 2011 4:28 pm
Posts: 71
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.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 20, 2011 8:04 pm 
Offline
Slick Zombie

Joined: Fri Jan 29, 2010 7:02 pm
Posts: 1242
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.

_________________
TWL - The Themable Widget Library


Top
 Profile  
 
PostPosted: Sun Mar 04, 2012 10:25 pm 
Offline
Slick Zombie

Joined: Sat Jan 27, 2007 7:10 pm
Posts: 1482
Fixed in dev branch thanks to Nitram's patch.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group