Class XTIFFCodec


  • public class XTIFFCodec
    extends com.sun.media.jai.codec.ImageCodec
    TIFFCodec is declared final so we can't extend it
    • Constructor Detail

      • XTIFFCodec

        public XTIFFCodec()
    • Method Detail

      • getFormatName

        public String getFormatName()
        Specified by:
        getFormatName in class com.sun.media.jai.codec.ImageCodec
      • getEncodeParamClass

        public Class getEncodeParamClass()
        Specified by:
        getEncodeParamClass in class com.sun.media.jai.codec.ImageCodec
      • getDecodeParamClass

        public Class getDecodeParamClass()
        Specified by:
        getDecodeParamClass in class com.sun.media.jai.codec.ImageCodec
      • canEncodeImage

        public boolean canEncodeImage​(RenderedImage im,
                                      com.sun.media.jai.codec.ImageEncodeParam param)
        Specified by:
        canEncodeImage in class com.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 class com.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 class com.sun.media.jai.codec.ImageCodec
      • getNumHeaderBytes

        public int getNumHeaderBytes()
        Overrides:
        getNumHeaderBytes in class com.sun.media.jai.codec.ImageCodec
      • isFormatRecognized

        public boolean isFormatRecognized​(byte[] header)
        Overrides:
        isFormatRecognized in class com.sun.media.jai.codec.ImageCodec