public class JpegOptions extends ImageOptionsBase
The jpeg file format create options.
Constructor and Description |
---|
JpegOptions()
Initializes a new instance of the
JpegOptions class. |
JpegOptions(JpegOptions jpegOptions)
Initializes a new instance of the
JpegOptions class. |
Modifier and Type | Method and Description |
---|---|
com.aspose.cad.sources.StreamSource |
getCmykColorProfile()
The destination CMYK color profile for CMYK jpeg images.
|
int |
getColorType()
Gets or sets the color type for jpeg image.
|
String |
getComment()
Gets or sets the jpeg file comment.
|
int |
getCompressionType()
Gets or sets the compression type.
|
JpegExifData |
getExifData()
Get or set exif data container
|
JFIFData |
getJfif()
Gets or sets the jfif.
|
int |
getQuality()
Gets or sets image quality.
|
com.aspose.cad.imageoptions.RdOptimizerSettings |
getRdOptSettings()
Gets or sets the RD optimizer settings.
|
com.aspose.cad.sources.StreamSource |
getRgbColorProfile()
The destination RGB color profile for CMYK jpeg images.
|
int |
getScaledQuality()
The scaled quality.
|
long |
getTargetFormat() |
com.aspose.cad.xmp.XmpPacketWrapper |
getXmpData()
Gets or sets the XMP metadata container.
|
void |
setCmykColorProfile(com.aspose.cad.sources.StreamSource value)
The destination CMYK color profile for CMYK jpeg images.
|
void |
setColorType(int value)
Gets or sets the color type for jpeg image.
|
void |
setComment(String value)
Gets or sets the jpeg file comment.
|
void |
setCompressionType(int value)
Gets or sets the compression type.
|
void |
setExifData(JpegExifData value)
Get or set exif data container
|
void |
setJfif(JFIFData value)
Gets or sets the jfif.
|
void |
setQuality(int value)
Gets or sets image quality.
|
void |
setRdOptSettings(com.aspose.cad.imageoptions.RdOptimizerSettings value)
Gets or sets the RD optimizer settings.
|
void |
setRgbColorProfile(com.aspose.cad.sources.StreamSource value)
The destination RGB color profile for CMYK jpeg images.
|
void |
setXmpData(com.aspose.cad.xmp.XmpPacketWrapper value)
Gets or sets the XMP metadata container.
|
getInterruptionToken, getLayers, getPalette, getPc3File, getResolutionSettings, getRotation, getSource, getTimeout, getUserWatermarkColor, getUserWatermarkText, getVectorRasterizationOptions, setInterruptionToken, setLayers, setPalette, setPc3File, setResolutionSettings, setRotation, setSource, setTimeout, setUserWatermarkColor, setUserWatermarkText, setVectorRasterizationOptions
public JpegOptions()
Initializes a new instance of the JpegOptions
class.
public JpegOptions(JpegOptions jpegOptions)
Initializes a new instance of the JpegOptions
class.
jpegOptions
- The JPEG options.public long getTargetFormat()
getTargetFormat
in class ImageOptionsBase
public com.aspose.cad.xmp.XmpPacketWrapper getXmpData()
Gets or sets the XMP metadata container.
getXmpData
in class ImageOptionsBase
public void setXmpData(com.aspose.cad.xmp.XmpPacketWrapper value)
Gets or sets the XMP metadata container.
setXmpData
in class ImageOptionsBase
value
- The XMP data container.public JFIFData getJfif()
Gets or sets the jfif.
public void setJfif(JFIFData value)
Gets or sets the jfif.
public String getComment()
Gets or sets the jpeg file comment.
public void setComment(String value)
Gets or sets the jpeg file comment.
public JpegExifData getExifData()
Get or set exif data container
public void setExifData(JpegExifData value)
Get or set exif data container
public int getCompressionType()
Gets or sets the compression type.
public void setCompressionType(int value)
Gets or sets the compression type.
public int getColorType()
Gets or sets the color type for jpeg image.
public void setColorType(int value)
Gets or sets the color type for jpeg image.
public int getQuality()
Gets or sets image quality.
public void setQuality(int value)
Gets or sets image quality.
public int getScaledQuality()
The scaled quality.
public com.aspose.cad.imageoptions.RdOptimizerSettings getRdOptSettings()
Gets or sets the RD optimizer settings.
public void setRdOptSettings(com.aspose.cad.imageoptions.RdOptimizerSettings value)
Gets or sets the RD optimizer settings.
value
- The RD optimizer settings.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.
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.
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.
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.