ASJpegExportConfigurationImpl
Inheritance: java.lang.Object, ImageExportConfigurationImpl
All Implemented Interfaces: ASJpegExportConfiguration
The JPEG file format export configuration.
Constructors
| Constructor | Description |
|---|---|
| ASJpegExportConfigurationImpl() |
Methods
| Method | Description |
|---|---|
| getXmpData() | Gets the XMP metadata container. |
| getComment() | Gets the jpeg file comment. |
| setComment(String value) | Sets the jpeg file comment. |
| getExifData() | Get or set exif data container |
| setExifData(com.aspose.imaging.exif.JpegExifData value) | Get or set exif data container |
| getCompressionType() | Gets the compression type. |
| setCompressionType(JpegCompressionMode value) | Sets the compression type. |
| getColorType() | Gets the color type for jpeg image. |
| setColorType(JpegCompressionColorMode value) | Sets the color type for jpeg image. |
| getBitsPerChannel() | Gets bits per channel for lossless jpeg image. Now we support from 2 to 8 bits per channel. |
| setBitsPerChannel(byte value) | Sets bits per channel for lossless jpeg image. Now we support from 2 to 8 bits per channel. |
| getQuality() | Gets image quality. |
| setQuality(int value) | Sets image quality. |
| getRdOptSettings() | Gets the RD optimizer settings. |
| setRdOptSettings(com.aspose.cad.imageoptions.RdOptimizerSettings value) | 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. |
| getJpegLsAllowedLossyError() | Gets the JPEG-LS difference bound for near-lossless coding (NEAR parameter from the JPEG-LS specification). |
| setJpegLsAllowedLossyError(int value) | Sets the JPEG-LS difference bound for near-lossless coding (NEAR parameter from the JPEG-LS specification). |
| getJpegLsInterleaveMode() | Gets the JPEG-LS interleave mode. |
| setJpegLsInterleaveMode(JpegLsInterleaveMode value) | Sets the JPEG-LS interleave mode. |
| getJpegLsPreset() | Gets the JPEG-LS preset parameters. |
| setJpegLsPreset(com.aspose.imaging.fileformats.jpeg.JpegLsPresetCodingParameters value) | Sets the JPEG-LS preset parameters. |
| getHorizontalSampling() | Gets the horizontal subsamplings for each component. |
| setHorizontalSampling(byte[] value) | Sets the horizontal subsamplings for each component. |
| getVerticalSampling() | Gets the vertical subsamplings for each component. |
| setVerticalSampling(byte[] value) | Sets the vertical subsamplings for each component. |
| getSampleRoundingMode() | Gets the sample rounding mode to fit an 8-bit value to an n-bit value. |
| setSampleRoundingMode(SampleRoundingMode value) | Sets the sample rounding mode to fit an 8-bit value to an n-bit value. |
| getPreblendAlphaIfPresent() | Gets a value indicating whether red, green and blue components should be mixed with a background color, if alpha channel is present. |
| 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. |
| getResolutionUnit() | Gets the resolution unit. |
| setResolutionUnit(ResolutionUnit value) | Sets the resolution unit. |
ASJpegExportConfigurationImpl()
public ASJpegExportConfigurationImpl()
getXmpData()
public com.aspose.cad.xmp.XmpPacketWrapper getXmpData()
Gets the XMP metadata container.
Returns: com.aspose.cad.xmp.XmpPacketWrapper - The XMP data container.
getComment()
public String getComment()
Gets the jpeg file comment.
Returns: String
setComment(String value)
public void setComment(String value)
Sets the jpeg file comment.
getExifData()
public com.aspose.imaging.exif.JpegExifData getExifData()
Get or set exif data container
Returns: com.aspose.imaging.exif.JpegExifData
setExifData(com.aspose.imaging.exif.JpegExifData value)
public void setExifData(com.aspose.imaging.exif.JpegExifData value)
Get or set exif data container
getCompressionType()
public JpegCompressionMode getCompressionType()
Gets the compression type.
Returns: JpegCompressionMode
setCompressionType(JpegCompressionMode value)
public void setCompressionType(JpegCompressionMode value)
Sets the compression type.
getColorType()
public JpegCompressionColorMode getColorType()
Gets the color type for jpeg image.
Returns: JpegCompressionColorMode
setColorType(JpegCompressionColorMode value)
public void setColorType(JpegCompressionColorMode value)
Sets the color type for jpeg image.
getBitsPerChannel()
public byte getBitsPerChannel()
Gets bits per channel for lossless jpeg image. Now we support from 2 to 8 bits per channel.
Returns: byte
setBitsPerChannel(byte value)
public void setBitsPerChannel(byte value)
Sets bits per channel for lossless jpeg image. Now we support from 2 to 8 bits per channel.
getQuality()
public int getQuality()
Gets image quality.
Returns: int
setQuality(int value)
public void setQuality(int value)
Sets image quality.
getRdOptSettings()
public com.aspose.cad.imageoptions.RdOptimizerSettings getRdOptSettings()
Gets 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)
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.
getJpegLsAllowedLossyError()
public int getJpegLsAllowedLossyError()
Gets the JPEG-LS difference bound for near-lossless coding (NEAR parameter from the JPEG-LS specification).
Returns: int
setJpegLsAllowedLossyError(int value)
public void setJpegLsAllowedLossyError(int value)
Sets the JPEG-LS difference bound for near-lossless coding (NEAR parameter from the JPEG-LS specification).
getJpegLsInterleaveMode()
public JpegLsInterleaveMode getJpegLsInterleaveMode()
Gets the JPEG-LS interleave mode.
Returns: JpegLsInterleaveMode
setJpegLsInterleaveMode(JpegLsInterleaveMode value)
public void setJpegLsInterleaveMode(JpegLsInterleaveMode value)
Sets the JPEG-LS interleave mode.
getJpegLsPreset()
public com.aspose.imaging.fileformats.jpeg.JpegLsPresetCodingParameters getJpegLsPreset()
Gets the JPEG-LS preset parameters.
Returns: com.aspose.imaging.fileformats.jpeg.JpegLsPresetCodingParameters
setJpegLsPreset(com.aspose.imaging.fileformats.jpeg.JpegLsPresetCodingParameters value)
public void setJpegLsPreset(com.aspose.imaging.fileformats.jpeg.JpegLsPresetCodingParameters value)
Sets the JPEG-LS preset parameters.
getHorizontalSampling()
public byte[] getHorizontalSampling()
Gets the horizontal subsamplings for each component.
Returns: byte[]
setHorizontalSampling(byte[] value)
public void setHorizontalSampling(byte[] value)
Sets the horizontal subsamplings for each component.
getVerticalSampling()
public byte[] getVerticalSampling()
Gets the vertical subsamplings for each component.
Returns: byte[]
setVerticalSampling(byte[] value)
public void setVerticalSampling(byte[] value)
Sets the vertical subsamplings for each component.
getSampleRoundingMode()
public SampleRoundingMode getSampleRoundingMode()
Gets the sample rounding mode to fit an 8-bit value to an n-bit value.
Returns: SampleRoundingMode
setSampleRoundingMode(SampleRoundingMode value)
public void setSampleRoundingMode(SampleRoundingMode value)
Sets the sample rounding mode to fit an 8-bit value to an n-bit value.
getPreblendAlphaIfPresent()
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.
Returns: boolean
setPreblendAlphaIfPresent(boolean value)
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.
getResolutionUnit()
public final ResolutionUnit getResolutionUnit()
Gets the resolution unit.
Returns: ResolutionUnit - the resolution unit.
setResolutionUnit(ResolutionUnit value)
public final void setResolutionUnit(ResolutionUnit value)
Sets the resolution unit.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | ResolutionUnit | the resolution unit. |