net.sf.fmj.media.codec.video.lossless.PNGDecoder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fmj Show documentation
Show all versions of fmj Show documentation
Freedom for Media in Java
package net.sf.fmj.media.codec.video.lossless;
import javax.media.*;
import net.sf.fmj.media.codec.video.*;
import net.sf.fmj.media.format.*;
/**
* PNG decoder Codec.
*
* @author Ken Larson
*
*/
public class PNGDecoder extends ImageIODecoder
{
private final Format[] supportedInputFormats = new Format[] { new PNGFormat(), };
public PNGDecoder()
{
super("PNG");
}
@Override
public Format[] getSupportedInputFormats()
{
return supportedInputFormats;
}
}