[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PNG ImageIO decoder available

From: Chris Nokleberg
Subject: PNG ImageIO decoder available
Date: Fri, 07 Oct 2005 12:34:11 -0700
User-agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.)

Hello Graphics2D hackers,

The following Jar includes a PNG decoding library, ImageIO service
provider classes, and the necessary META-INF/services bits such that
ImageIO should load it automatically if it is put into jre/lib/ext (or
whatever the Classpath equivalent is):

The full source distribution is available here:

The license is the same as Classpath.

The PNG decoding part of the library is quite complete, but the ImageIO
plugin is very basic. For example it doesn't have any metadata support.
Dimitri Koussa is working on improving the plugin, including at least
basic write support.

Aside from the ImageIO package, only classes in JDK 1.2 are used. I don't
have a recent version of Classpath up and running yet, so I'm
not sure what the state of the ImageIO support is, but you could also add
Toolkit support by calling the com.sixlegs.png API directly. FWIW in the
current version this would also have slightly better performance than
going through ImageIO.

I'd appreciate any feedback/patches/etc.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]