Class JPEGOutputDevice

    • Constructor Detail

      • JPEGOutputDevice

        public JPEGOutputDevice()
    • Method Detail

      • getQuality

        public int getQuality()
        Returns:
        The quality factor to use
        See Also:
        setQuality(int)
      • setQuality

        public void setQuality​(int quality)
        Set the quality factor to use (integer from 0 to 100, default 75). Set the quality level according to the widely used IJG quality scale, which balances the extent of compression against the fidelity of the image when reconstituted. Lower values drop more information from the image to achieve higher compression, and therefore have lower quality when reconstituted.
        Parameters:
        quality - the quality factor (must be in range [0…100])