JpegOptions
Inheritance: java.lang.Object, ImageOptionsBase
The jpeg file format create options.
Constructors
| Constructor | Description |
|---|---|
| JpegOptions() | Initializes a new instance of the JpegOptions class. |
| JpegOptions(JpegOptions jpegOptions) | Initializes a new instance of the JpegOptions class. |
Methods
| Method | Description |
|---|---|
| getTargetFormat() | |
| getXmpData() | Gets or sets the XMP metadata container. |
| setXmpData(com.aspose.cad.xmp.XmpPacketWrapper value) | Gets or sets the XMP metadata container. |
| getJfif() | Gets or sets the jfif. |
| setJfif(JFIFData value) | Gets or sets the jfif. |
| getComment() | Gets or sets the jpeg file comment. |
| setComment(String value) | Gets or sets the jpeg file comment. |
| getExifData() | Get or set exif data container |
| setExifData(JpegExifData value) | Get or set exif data container |
| getCompressionType() | Gets or sets the compression type. |
| setCompressionType(int value) | Gets or sets the compression type. |
| getColorType() | Gets or sets the color type for jpeg image. |
| setColorType(int value) | Gets or sets the color type for jpeg image. |
| getQuality() | Gets or sets image quality. |
| setQuality(int value) | Gets or sets image quality. |
| getScaledQuality() | The scaled quality. |
| getRdOptSettings() | Gets or sets the RD optimizer settings. |
| setRdOptSettings(com.aspose.cad.imageoptions.RdOptimizerSettings value) | Gets or sets the RD optimizer settings. |
| 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(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() | The destination CMYK color profile for CMYK jpeg images. Use for saving images. Must be in pair with RGBColorProfile for correct color conversion. |
| 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. |
JpegOptions()
public JpegOptions()
Initializes a new instance of the JpegOptions class.
JpegOptions(JpegOptions jpegOptions)
public JpegOptions(JpegOptions jpegOptions)
Initializes a new instance of the JpegOptions class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| jpegOptions | JpegOptions | The JPEG options. |
getTargetFormat()
public long getTargetFormat()
Returns: long
getXmpData()
public com.aspose.cad.xmp.XmpPacketWrapper getXmpData()
Gets or sets the XMP metadata container.
Returns: com.aspose.cad.xmp.XmpPacketWrapper - The XMP data container.
setXmpData(com.aspose.cad.xmp.XmpPacketWrapper value)
public void setXmpData(com.aspose.cad.xmp.XmpPacketWrapper value)
Gets or sets the XMP metadata container.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | com.aspose.cad.xmp.XmpPacketWrapper | The XMP data container. |
getJfif()
public JFIFData getJfif()
Gets or sets the jfif.
Returns: JFIFData
setJfif(JFIFData value)
public void setJfif(JFIFData value)
Gets or sets the jfif.
getComment()
public String getComment()
Gets or sets the jpeg file comment.
Returns: String
setComment(String value)
public void setComment(String value)
Gets or sets the jpeg file comment.
getExifData()
public JpegExifData getExifData()
Get or set exif data container
Returns: JpegExifData
setExifData(JpegExifData value)
public void setExifData(JpegExifData value)
Get or set exif data container
getCompressionType()
public int getCompressionType()
Gets or sets the compression type.
Returns: int
setCompressionType(int value)
public void setCompressionType(int value)
Gets or sets the compression type.
getColorType()
public int getColorType()
Gets or sets the color type for jpeg image.
Returns: int
setColorType(int value)
public void setColorType(int value)
Gets or sets the color type for jpeg image.
getQuality()
public int getQuality()
Gets or sets image quality.
Returns: int
setQuality(int value)
public void setQuality(int value)
Gets or sets image quality.
getScaledQuality()
public int getScaledQuality()
The scaled quality.
Returns: int
getRdOptSettings()
public com.aspose.cad.imageoptions.RdOptimizerSettings getRdOptSettings()
Gets or sets the RD optimizer settings.
Returns: com.aspose.cad.imageoptions.RdOptimizerSettings - The RD optimizer settings.
setRdOptSettings(com.aspose.cad.imageoptions.RdOptimizerSettings value)
public void setRdOptSettings(com.aspose.cad.imageoptions.RdOptimizerSettings value)
Gets or sets the RD optimizer settings.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | com.aspose.cad.imageoptions.RdOptimizerSettings | 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.
Returns: com.aspose.cad.sources.StreamSource
setRgbColorProfile(com.aspose.cad.sources.StreamSource value)
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.
Returns: com.aspose.cad.sources.StreamSource
setCmykColorProfile(com.aspose.cad.sources.StreamSource value)
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.