Class UnsupportedCompression

    • Constructor Detail

      • UnsupportedCompression

        public UnsupportedCompression​(String message)
        Constructor
        Parameters:
        message - message of the TiffException
        Since:
        2.0.1
    • Method Detail

      • decode

        public byte[] decode​(byte[] bytes,
                             ByteOrder byteOrder)
        Decode the bytes
        Specified by:
        decode in interface CompressionDecoder
        Parameters:
        bytes - bytes to decode
        byteOrder - byte order
        Returns:
        decoded bytes
      • rowEncoding

        public boolean rowEncoding()
        True to encode on a per row basis, false to encode on a per block / strip basis
        Specified by:
        rowEncoding in interface CompressionEncoder
        Returns:
        true for row encoding
      • encode

        public byte[] encode​(byte[] bytes,
                             ByteOrder byteOrder)
        Encode the bytes
        Specified by:
        encode in interface CompressionEncoder
        Parameters:
        bytes - bytes to encode
        byteOrder - byte order
        Returns:
        encoded block of bytes