Package org.libtiff.jai.codecimpl
Class XTIFFCodec
- java.lang.Object
-
- com.sun.media.jai.codec.ImageCodec
-
- org.libtiff.jai.codecimpl.XTIFFCodec
-
public class XTIFFCodec extends com.sun.media.jai.codec.ImageCodec
TIFFCodec is declared final so we can't extend it
-
-
Constructor Summary
Constructors Constructor Description XTIFFCodec()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canEncodeImage(RenderedImage im, com.sun.media.jai.codec.ImageEncodeParam param)
protected com.sun.media.jai.codec.ImageDecoder
createImageDecoder(com.sun.media.jai.codec.SeekableStream src, com.sun.media.jai.codec.ImageDecodeParam param)
protected com.sun.media.jai.codec.ImageEncoder
createImageEncoder(OutputStream dst, com.sun.media.jai.codec.ImageEncodeParam param)
Class
getDecodeParamClass()
Class
getEncodeParamClass()
String
getFormatName()
int
getNumHeaderBytes()
boolean
isFormatRecognized(byte[] header)
-
Methods inherited from class com.sun.media.jai.codec.ImageCodec
createComponentColorModel, createComponentColorModel, createGrayIndexColorModel, createImageDecoder, createImageDecoder, createImageDecoder, createImageDecoder, createImageDecoder, createImageEncoder, getCodec, getCodecs, getDecoderNames, getEncoderNames, isFormatRecognized, isIndicesForGrayscale, registerCodec, unregisterCodec
-
-
-
-
Method Detail
-
getFormatName
public String getFormatName()
- Specified by:
getFormatName
in classcom.sun.media.jai.codec.ImageCodec
-
getEncodeParamClass
public Class getEncodeParamClass()
- Specified by:
getEncodeParamClass
in classcom.sun.media.jai.codec.ImageCodec
-
getDecodeParamClass
public Class getDecodeParamClass()
- Specified by:
getDecodeParamClass
in classcom.sun.media.jai.codec.ImageCodec
-
canEncodeImage
public boolean canEncodeImage(RenderedImage im, com.sun.media.jai.codec.ImageEncodeParam param)
- Specified by:
canEncodeImage
in classcom.sun.media.jai.codec.ImageCodec
-
createImageEncoder
protected com.sun.media.jai.codec.ImageEncoder createImageEncoder(OutputStream dst, com.sun.media.jai.codec.ImageEncodeParam param)
- Specified by:
createImageEncoder
in classcom.sun.media.jai.codec.ImageCodec
-
createImageDecoder
protected com.sun.media.jai.codec.ImageDecoder createImageDecoder(com.sun.media.jai.codec.SeekableStream src, com.sun.media.jai.codec.ImageDecodeParam param)
- Specified by:
createImageDecoder
in classcom.sun.media.jai.codec.ImageCodec
-
getNumHeaderBytes
public int getNumHeaderBytes()
- Overrides:
getNumHeaderBytes
in classcom.sun.media.jai.codec.ImageCodec
-
isFormatRecognized
public boolean isFormatRecognized(byte[] header)
- Overrides:
isFormatRecognized
in classcom.sun.media.jai.codec.ImageCodec
-
-