Class CompressedImageData

    • Constructor Detail

      • CompressedImageData

        protected CompressedImageData()
    • Method Detail

      • forceNoLoss

        protected void forceNoLoss​(int x,
                                   int y,
                                   int width,
                                   int heigth)
      • getCompressOption

        protected <T extends ICompressOption> T getCompressOption​(java.lang.Class<T> clazz)
      • preserveNulls

        protected void preserveNulls​(long nullValue,
                                     java.lang.String compressionAlgorithm)
        preserve the null values in the image even if the compression algorithm is lossy.
        Parameters:
        nullValue - the value representing null for byte/short and integer pixel values
        compressionAlgorithm - compression algorithm to use for the null pixel mask
      • setCompressAlgorithm

        protected void setCompressAlgorithm​(HeaderCard compressAlgorithmCard)