public class ASJpegExportConfigurationImpl extends ImageExportConfigurationImpl implements ASJpegExportConfiguration
The JPEG file format export configuration.
Constructor and Description |
---|
ASJpegExportConfigurationImpl() |
Modifier and Type | Method and Description |
---|---|
byte |
getBitsPerChannel()
Gets bits per channel for lossless jpeg image.
|
com.aspose.cad.sources.StreamSource |
getCmykColorProfile()
The destination CMYK color profile for CMYK jpeg images.
|
JpegCompressionColorMode |
getColorType()
Gets the color type for jpeg image.
|
String |
getComment()
Gets the jpeg file comment.
|
JpegCompressionMode |
getCompressionType()
Gets the compression type.
|
com.aspose.imaging.exif.JpegExifData |
getExifData()
Get or set exif data container
|
byte[] |
getHorizontalSampling()
Gets the horizontal subsamplings for each component.
|
int |
getJpegLsAllowedLossyError()
Gets the JPEG-LS difference bound for near-lossless coding (NEAR parameter from the JPEG-LS specification).
|
JpegLsInterleaveMode |
getJpegLsInterleaveMode()
Gets the JPEG-LS interleave mode.
|
com.aspose.imaging.fileformats.jpeg.JpegLsPresetCodingParameters |
getJpegLsPreset()
Gets the JPEG-LS preset parameters.
|
boolean |
getPreblendAlphaIfPresent()
Gets a value indicating whether red, green and blue components should be mixed with a background color, if alpha channel is present.
|
int |
getQuality()
Gets image quality.
|
com.aspose.cad.imageoptions.RdOptimizerSettings |
getRdOptSettings()
Gets the RD optimizer settings.
|
ResolutionUnit |
getResolutionUnit()
Gets the resolution unit.
|
com.aspose.cad.sources.StreamSource |
getRgbColorProfile()
The destination RGB color profile for CMYK jpeg images.
|
SampleRoundingMode |
getSampleRoundingMode()
Gets the sample rounding mode to fit an 8-bit value to an n-bit value.
|
byte[] |
getVerticalSampling()
Gets the vertical subsamplings for each component.
|
com.aspose.cad.xmp.XmpPacketWrapper |
getXmpData()
Gets the XMP metadata container.
|
void |
setBitsPerChannel(byte value)
Sets bits per channel for lossless jpeg image.
|
void |
setCmykColorProfile(com.aspose.cad.sources.StreamSource value)
The destination CMYK color profile for CMYK jpeg images.
|
void |
setColorType(JpegCompressionColorMode value)
Sets the color type for jpeg image.
|
void |
setComment(String value)
Sets the jpeg file comment.
|
void |
setCompressionType(JpegCompressionMode value)
Sets the compression type.
|
void |
setExifData(com.aspose.imaging.exif.JpegExifData value)
Get or set exif data container
|
void |
setHorizontalSampling(byte[] value)
Sets the horizontal subsamplings for each component.
|
void |
setJpegLsAllowedLossyError(int value)
Sets the JPEG-LS difference bound for near-lossless coding (NEAR parameter from the JPEG-LS specification).
|
void |
setJpegLsInterleaveMode(JpegLsInterleaveMode value)
Sets the JPEG-LS interleave mode.
|
void |
setJpegLsPreset(com.aspose.imaging.fileformats.jpeg.JpegLsPresetCodingParameters value)
Sets the JPEG-LS preset parameters.
|
void |
setPreblendAlphaIfPresent(boolean value)
Sets a value indicating whether red, green and blue components should be mixed with a background color, if alpha channel is present.
|
void |
setQuality(int value)
Sets image quality.
|
void |
setRdOptSettings(com.aspose.cad.imageoptions.RdOptimizerSettings value)
Sets the RD optimizer settings.
|
void |
setResolutionUnit(ResolutionUnit value)
Sets the resolution unit.
|
void |
setRgbColorProfile(com.aspose.cad.sources.StreamSource value)
The destination RGB color profile for CMYK jpeg images.
|
void |
setSampleRoundingMode(SampleRoundingMode value)
Sets the sample rounding mode to fit an 8-bit value to an n-bit value.
|
void |
setVerticalSampling(byte[] value)
Sets the vertical subsamplings for each component.
|
getCenterDrawing, getFullFrame, getPalette, getResolutionSettings, getSmoothingMode, getTextRenderingHint, setCenterDrawing, setFullFrame, setPalette, setResolutionSettings, setSmoothingMode, setTextRenderingHintEnum
getBackgroundColor, getLicense, isDrawBackground, setBackgroundColor, setDrawBackground, setLicense
isOverrideHints, setOverrideHints
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCenterDrawing, getFullFrame, getPalette, getResolutionSettings, getSmoothingMode, getTextRenderingHint
getBackgroundColor, getLicense, isDrawBackground
public com.aspose.cad.xmp.XmpPacketWrapper getXmpData()
Gets the XMP metadata container.
getXmpData
in interface ASJpegExportConfiguration
public String getComment()
Gets the jpeg file comment.
getComment
in interface ASJpegExportConfiguration
public void setComment(String value)
Sets the jpeg file comment.
public com.aspose.imaging.exif.JpegExifData getExifData()
Get or set exif data container
getExifData
in interface ASJpegExportConfiguration
public void setExifData(com.aspose.imaging.exif.JpegExifData value)
Get or set exif data container
public JpegCompressionMode getCompressionType()
Gets the compression type.
getCompressionType
in interface ASJpegExportConfiguration
public void setCompressionType(JpegCompressionMode value)
Sets the compression type.
public JpegCompressionColorMode getColorType()
Gets the color type for jpeg image.
getColorType
in interface ASJpegExportConfiguration
public void setColorType(JpegCompressionColorMode value)
Sets the color type for jpeg image.
public byte getBitsPerChannel()
Gets bits per channel for lossless jpeg image. Now we support from 2 to 8 bits per channel.
getBitsPerChannel
in interface ASJpegExportConfiguration
public void setBitsPerChannel(byte value)
Sets bits per channel for lossless jpeg image. Now we support from 2 to 8 bits per channel.
public int getQuality()
Gets image quality.
getQuality
in interface ASJpegExportConfiguration
public void setQuality(int value)
Sets image quality.
public com.aspose.cad.imageoptions.RdOptimizerSettings getRdOptSettings()
Gets the RD optimizer settings.
getRdOptSettings
in interface ASJpegExportConfiguration
public void setRdOptSettings(com.aspose.cad.imageoptions.RdOptimizerSettings value)
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.
getRgbColorProfile
in interface ASJpegExportConfiguration
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.
getCmykColorProfile
in interface ASJpegExportConfiguration
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.
public int getJpegLsAllowedLossyError()
Gets the JPEG-LS difference bound for near-lossless coding (NEAR parameter from the JPEG-LS specification).
getJpegLsAllowedLossyError
in interface ASJpegExportConfiguration
public void setJpegLsAllowedLossyError(int value)
Sets the JPEG-LS difference bound for near-lossless coding (NEAR parameter from the JPEG-LS specification).
public JpegLsInterleaveMode getJpegLsInterleaveMode()
Gets the JPEG-LS interleave mode.
getJpegLsInterleaveMode
in interface ASJpegExportConfiguration
public void setJpegLsInterleaveMode(JpegLsInterleaveMode value)
Sets the JPEG-LS interleave mode.
public com.aspose.imaging.fileformats.jpeg.JpegLsPresetCodingParameters getJpegLsPreset()
Gets the JPEG-LS preset parameters.
getJpegLsPreset
in interface ASJpegExportConfiguration
public void setJpegLsPreset(com.aspose.imaging.fileformats.jpeg.JpegLsPresetCodingParameters value)
Sets the JPEG-LS preset parameters.
public byte[] getHorizontalSampling()
Gets the horizontal subsamplings for each component.
getHorizontalSampling
in interface ASJpegExportConfiguration
public void setHorizontalSampling(byte[] value)
Sets the horizontal subsamplings for each component.
public byte[] getVerticalSampling()
Gets the vertical subsamplings for each component.
getVerticalSampling
in interface ASJpegExportConfiguration
public void setVerticalSampling(byte[] value)
Sets the vertical subsamplings for each component.
public SampleRoundingMode getSampleRoundingMode()
Gets the sample rounding mode to fit an 8-bit value to an n-bit value.
getSampleRoundingMode
in interface ASJpegExportConfiguration
public void setSampleRoundingMode(SampleRoundingMode value)
Sets the sample rounding mode to fit an 8-bit value to an n-bit value.
public boolean getPreblendAlphaIfPresent()
Gets a value indicating whether red, green and blue components should be mixed with a background color, if alpha channel is present.
getPreblendAlphaIfPresent
in interface ASJpegExportConfiguration
public void setPreblendAlphaIfPresent(boolean value)
Sets a value indicating whether red, green and blue components should be mixed with a background color, if alpha channel is present.
public final ResolutionUnit getResolutionUnit()
Gets the resolution unit.
getResolutionUnit
in interface ASJpegExportConfiguration
public final void setResolutionUnit(ResolutionUnit value)
Sets the resolution unit.
value
- the resolution unit.