Package ome.codecs

Class CodecOptions

    • Field Detail

      • width

        public int width
        Width, in pixels, of the image. (READ/WRITE)
      • height

        public int height
        Height, in pixels, of the image. (READ/WRITE)
      • channels

        public int channels
        Number of channels. (READ/WRITE)
      • bitsPerSample

        public int bitsPerSample
        Number of bits per channel. (READ/WRITE)
      • littleEndian

        public boolean littleEndian
        Indicates endianness of pixel data. (READ/WRITE)
      • interleaved

        public boolean interleaved
        Indicates whether or not channels are interleaved. (READ/WRITE)
      • signed

        public boolean signed
        Indicates whether or not the pixel data is signed. (READ/WRITE)
      • maxBytes

        public int maxBytes
        If compressing, this is the maximum number of raw bytes to compress. If decompressing, this is the maximum number of raw bytes to return. (READ/WRITE).
      • previousImage

        public byte[] previousImage
        Pixels for preceding image (READ/WRITE).
      • lossless

        public boolean lossless
        Used with codecs allowing lossy and lossless compression. Default is set to true (WRITE).
      • colorModel

        public ColorModel colorModel
        Color model to use when constructing an image (WRITE).
      • ycbcr

        public boolean ycbcr
        Whether or not the decompressed data will be stored as YCbCr.
      • disableChromaSubsampling

        public boolean disableChromaSubsampling
        Whether or not use chroma subsampling.
    • Constructor Detail

      • CodecOptions

        public CodecOptions()
        Construct a new CodecOptions.
      • CodecOptions

        public CodecOptions​(CodecOptions options)
        Construct a new CodecOptions using the given CodecOptions.
    • Method Detail

      • getDefaultOptions

        public static CodecOptions getDefaultOptions()
        Return CodecOptions with reasonable default values.