Packages

 

com.aspose.cad.imageoptions

Class JpegOptions



  • public class JpegOptions
    extends ImageOptionsBase

    The jpeg file format create options.

    • Constructor Detail

      • JpegOptions

        public JpegOptions()

        Initializes a new instance of the JpegOptions class.

      • JpegOptions

        public JpegOptions(JpegOptions jpegOptions)

        Initializes a new instance of the JpegOptions class.

        Parameters:
        jpegOptions - The JPEG options.
    • Method Detail

      • getJfif

        public JFIFData getJfif()

        Gets the jfif.

        Returns:
        The jfif-data
      • setJfif

        public void setJfif(JFIFData value)

        Sets the jfif.

        Parameters:
        value - The jfif-data
      • getComment

        public String getComment()

        Gets the jpeg file comment.

        Returns:
        The jpeg file comment.
      • setComment

        public void setComment(String value)

        Sets the jpeg file comment.

        Parameters:
        value - The jpeg file comment.
      • getExifData

        public JpegExifData getExifData()

        Gets exif data container

        Returns:
        The exif data container
      • setExifData

        public void setExifData(JpegExifData value)

        Sets exif data container

        Parameters:
        value - The exif data container
      • getCompressionType

        public int getCompressionType()

        Gets the compression type (JpegCompressionMode).

        Returns:
        The compression type.
      • setCompressionType

        public void setCompressionType(int value)

        Sets the compression type.

        Parameters:
        value - The compression type (JpegCompressionMode).
      • getColorType

        public int getColorType()

        Gets the color type for jpeg image.

        Returns:
        The color type (JpegCompressionColorMode).
      • setColorType

        public void setColorType(int value)

        Sets the color type for jpeg image.

        Parameters:
        value - The color type for jpeg image (JpegCompressionColorMode).
      • getQuality

        public int getQuality()

        Sets image quality.

        Returns:
        The image quality.
      • setQuality

        public void setQuality(int value)

        Sets image quality.

        Parameters:
        value - The image quality.
      • getScaledQuality

        public int getScaledQuality()

        The scaled quality.

        Returns:
        The scaled quality.
      • getRdOptSettings

        public RdOptimizerSettings getRdOptSettings()

        Gets the RD optimizer settings.

        Returns:
        The RD optimizer settings.
      • setRdOptSettings

        public void setRdOptSettings(RdOptimizerSettings value)

        Sets the RD optimizer settings.

        Parameters:
        value - The RD optimizer settings.
      • getRgbColorProfile

        public StreamSource getRgbColorProfile()

        The destination RGB color profile for CMYK jpeg images. Use for saving images. Must be in pair with CMYKColorProfile for correct color conversion.

        Returns:
        The destination RGB color profile
      • setRgbColorProfile

        public void setRgbColorProfile(StreamSource value)

        The destination RGB color profile for CMYK jpeg images. Use for saving images. Must be in pair with CMYKColorProfile for correct color conversion.

        Parameters:
        value - The destination RGB color profile
      • getCmykColorProfile

        public StreamSource getCmykColorProfile()

        The destination CMYK color profile for CMYK jpeg images. Use for saving images. Must be in pair with RGBColorProfile for correct color conversion.

        Returns:
        The destination CMYK color profile
      • setCmykColorProfile

        public void setCmykColorProfile(StreamSource value)

        The destination CMYK color profile for CMYK jpeg images. Use for saving images. Must be in pair with RGBColorProfile for correct color conversion.

        Parameters:
        value - The destination CMYK color profile