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 or sets the jfif.

      • setJfif

        public void setJfif(JFIFData value)

        Gets or sets the jfif.

      • getComment

        public String getComment()

        Gets or sets the jpeg file comment.

      • setComment

        public void setComment(String value)

        Gets or sets the jpeg file comment.

      • getExifData

        public JpegExifData getExifData()

        Get or set exif data container

      • setExifData

        public void setExifData(JpegExifData value)

        Get or set exif data container

      • getCompressionType

        public int getCompressionType()

        Gets or sets the compression type.

      • setCompressionType

        public void setCompressionType(int value)

        Gets or sets the compression type.

      • getColorType

        public int getColorType()

        Gets or sets the color type for jpeg image.

      • setColorType

        public void setColorType(int value)

        Gets or sets the color type for jpeg image.

      • getQuality

        public int getQuality()

        Gets or sets image quality.

      • setQuality

        public void setQuality(int value)

        Gets or sets image quality.

      • getScaledQuality

        public int getScaledQuality()

        The scaled quality.

      • getRdOptSettings

        public RdOptimizerSettings getRdOptSettings()

        Gets or sets the RD optimizer settings.

        Value: The RD optimizer settings.
      • setRdOptSettings

        public void setRdOptSettings(RdOptimizerSettings value)

        Gets or sets the RD optimizer settings.

        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.

      • 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.

      • 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.

      • 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.