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

      • getXmpData

        public com.aspose.cad.xmp.XmpPacketWrapper getXmpData()

        Gets or sets the XMP metadata container.

        Overrides:
        getXmpData in class ImageOptionsBase
        Returns:
        The XMP data container.
      • setXmpData

        public void setXmpData(com.aspose.cad.xmp.XmpPacketWrapper value)

        Gets or sets the XMP metadata container.

        Overrides:
        setXmpData in class ImageOptionsBase
        Parameters:
        value - The XMP data container.
      • 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 com.aspose.cad.imageoptions.RdOptimizerSettings getRdOptSettings()

        Gets or sets the RD optimizer settings.

        Returns:
        The RD optimizer settings.
      • setRdOptSettings

        public void setRdOptSettings(com.aspose.cad.imageoptions.RdOptimizerSettings value)

        Gets or sets the RD optimizer settings.

        Parameters:
        value - The RD optimizer settings.
      • getRgbColorProfile

        public com.aspose.cad.sources.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(com.aspose.cad.sources.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 com.aspose.cad.sources.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(com.aspose.cad.sources.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.