Class JPEGWriter

    • Field Detail

      • m_Quality

        protected float m_Quality
        the quality (0-1).
      • m_OptimizeHuffmanTables

        protected boolean m_OptimizeHuffmanTables
        whether to optimize the huffman tables.
    • Constructor Detail

      • JPEGWriter

        public JPEGWriter()
    • Method Detail

      • setQuality

        public void setQuality​(float value)
        Sets the quality to use.
        Parameters:
        value - the quality (1.0 = 100%)
      • getQuality

        public float getQuality()
        Returns the quality to use.
        Returns:
        the quality (1.0 = 100%)
      • qualityTipText

        public String qualityTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setOptimizeHuffmanTables

        public void setOptimizeHuffmanTables​(boolean value)
        Sets whether to optimize the huffman tables.
        Parameters:
        value - true if to optimize
      • getOptimizeHuffmanTables

        public boolean getOptimizeHuffmanTables()
        Returns whether to optimize huffman tables.
        Returns:
        true if to optimize
      • optimizeHuffmanTablesTipText

        public String optimizeHuffmanTablesTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • removeAlphaChannel

        public boolean removeAlphaChannel()
        Returns whether the alpha channel must be removed.
        Specified by:
        removeAlphaChannel in class AbstractJAIWriter
        Returns:
        true if to remove