JpegSaveOptions

Inheritance: java.lang.Object, com.groupdocs.signature.options.saveoptions.SaveOptions, com.groupdocs.signature.options.saveoptions.imagessaveoptions.ImageSaveOptions

public class JpegSaveOptions extends ImageSaveOptions

Jpeg Save options for Image Documents.

Constructors

Constructor Description
JpegSaveOptions() Creates JpegSaveOptions with default values.

Methods

Method Description
getBitsPerChannel() Gets or sets bits per channel for lossless jpeg image.
setBitsPerChannel(byte value) Gets or sets bits per channel for lossless jpeg image.
getColorType() Gets or sets the color type for jpeg image.
setColorType(int value) Gets or sets the color type for jpeg image.
getComment() Gets or sets the jpeg file comment.
setComment(String value) Gets or sets the jpeg file comment.
getCompressionType() Gets or sets the compression type.
setCompressionType(int value) Gets or sets the compression type.
getQuality() Gets or sets image quality.
setQuality(int value) Gets or sets image quality.
getSampleRoundingMode() Gets or sets the sample rounding mode to fit an 8-bit value to an n-bit value JpegOptions.BitsPerChannel.
setSampleRoundingMode(int value) Gets or sets the sample rounding mode to fit an 8-bit value to an n-bit value JpegOptions.BitsPerChannel.
getFileFormat() Gets or sets file format of signed document.
setFileFormat(int value) Gets or sets file format of signed document.

JpegSaveOptions()

public JpegSaveOptions()

Creates JpegSaveOptions with default values.

getBitsPerChannel()

public byte getBitsPerChannel()

Gets or sets 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)

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

Parameters:

Parameter Type Description
value byte

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.

Parameters:

Parameter Type Description
value int

getComment()

public String getComment()

Gets or sets the jpeg file comment.

Returns: java.lang.String

setComment(String value)

public void setComment(String value)

Gets or sets the jpeg file comment.

Parameters:

Parameter Type Description
value java.lang.String

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.

Parameters:

Parameter Type Description
value int

getQuality()

public int getQuality()

Gets or sets image quality.

Returns: int

setQuality(int value)

public void setQuality(int value)

Gets or sets image quality.

Parameters:

Parameter Type Description
value int

getSampleRoundingMode()

public int getSampleRoundingMode()

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

Returns: int

setSampleRoundingMode(int value)

public void setSampleRoundingMode(int value)

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

Parameters:

Parameter Type Description
value int

getFileFormat()

public final int getFileFormat()

Gets or sets file format of signed document. Hidden because not in use for this options class.

Returns: int

setFileFormat(int value)

public final void setFileFormat(int value)

Gets or sets file format of signed document. Hidden because not in use for this options class.

Parameters:

Parameter Type Description
value int