ASJpegExportConfiguration

Inheritance: java.lang.Object, ImageExportConfiguration

The JPEG file format export configuration.

Methods

MethodDescription
getXmpData()Gets the XMP metadata container.
getComment()Gets the jpeg file comment.
getExifData()Get or set exif data container
getCompressionType()Gets the compression type.
getColorType()Gets 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.
getQuality()Gets image quality.
getRdOptSettings()Gets 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.
getCmykColorProfile()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).
getJpegLsInterleaveMode()Gets the JPEG-LS interleave mode.
getJpegLsPreset()Gets the JPEG-LS preset parameters.
getHorizontalSampling()Gets the horizontal subsamplings for each component.
getVerticalSampling()Gets the vertical subsamplings for each component.
getSampleRoundingMode()Gets the sample rounding mode to fit an 8-bit value to an n-bit value. P:JpegOptions.BitsPerChannel
getPreblendAlphaIfPresent()Gets 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.

getXmpData()

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

Gets the XMP metadata container.

Returns: com.aspose.cad.xmp.XmpPacketWrapper - The XMP data container.

getComment()

String getComment()

Gets the jpeg file comment.

Returns: String

getExifData()

com.aspose.imaging.exif.JpegExifData getExifData()

Get or set exif data container

Returns: com.aspose.imaging.exif.JpegExifData

getCompressionType()

JpegCompressionMode getCompressionType()

Gets the compression type.

Returns: JpegCompressionMode

getColorType()

JpegCompressionColorMode getColorType()

Gets the color type for jpeg image.

Returns: JpegCompressionColorMode

getBitsPerChannel()

byte getBitsPerChannel()

Gets bits per channel for lossless jpeg image. Now we support from 2 to 8 bits per channel.

Returns: byte

getQuality()

int getQuality()

Gets image quality.

Returns: int

getRdOptSettings()

com.aspose.cad.imageoptions.RdOptimizerSettings getRdOptSettings()

Gets the RD optimizer settings.

Returns: com.aspose.cad.imageoptions.RdOptimizerSettings - The RD optimizer settings.

getRgbColorProfile()

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

getCmykColorProfile()

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

getJpegLsAllowedLossyError()

int getJpegLsAllowedLossyError()

Gets the JPEG-LS difference bound for near-lossless coding (NEAR parameter from the JPEG-LS specification).

Returns: int

getJpegLsInterleaveMode()

JpegLsInterleaveMode getJpegLsInterleaveMode()

Gets the JPEG-LS interleave mode.

Returns: JpegLsInterleaveMode

getJpegLsPreset()

com.aspose.imaging.fileformats.jpeg.JpegLsPresetCodingParameters getJpegLsPreset()

Gets the JPEG-LS preset parameters.

Returns: com.aspose.imaging.fileformats.jpeg.JpegLsPresetCodingParameters

getHorizontalSampling()

byte[] getHorizontalSampling()

Gets the horizontal subsamplings for each component.

Returns: byte[]

getVerticalSampling()

byte[] getVerticalSampling()

Gets the vertical subsamplings for each component.

Returns: byte[]

getSampleRoundingMode()

SampleRoundingMode getSampleRoundingMode()

Gets the sample rounding mode to fit an 8-bit value to an n-bit value. P:JpegOptions.BitsPerChannel

Returns: SampleRoundingMode

getPreblendAlphaIfPresent()

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

getResolutionUnit()

ResolutionUnit getResolutionUnit()

Gets the resolution unit.

Returns: ResolutionUnit - the resolution unit.