Alternatives libraries for loading PNG images
Posted
by
Robert
on Stack Overflow
See other posts from Stack Overflow
or by Robert
Published on 2010-12-14T19:26:36Z
Indexed on
2011/01/03
13:54 UTC
Read the original article
Hit count: 217
My java J2SE application is reading a lot of (png) images from the web and some of them use features such as a transparency color for true-color images (tRNS section) that Sun's/Oracle's PNGImageReader implementation simply ignores.
Therefore the common solution for loading via ImageIO.read(...);
does not work for me as it relies on this incomplete PNGImageReader implementation.
Does anybody know a png reader implementation that can read all forms of PNG images correctly - those with color table or true-color and alpha transparency or transparent color?
As it is for a GPL project it should be a non-commercial one that can be included without licensing problems into the app.
Edit: My be this question was too specific. Therefore let be redesign my question:
Who knows alternative implementations and libraries that are able to load PNG files?
I will then test the implementations for their capabilities to load some test png images.
Edit2: The end result have to be a BufferedImage
© Stack Overflow or respective owner