JpegSaveOptions
Leave feedback
On this page
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.
| Constructor | Description |
|---|---|
| JpegSaveOptions() | Creates JpegSaveOptions with default values. |
| 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. |
public JpegSaveOptions()
Creates JpegSaveOptions with default values.
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
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 |
public int getColorType()
Gets or sets the color type for jpeg image.
Returns: int
public void setColorType(int value)
Gets or sets the color type for jpeg image.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int |
public String getComment()
Gets or sets the jpeg file comment.
Returns: java.lang.String
public void setComment(String value)
Gets or sets the jpeg file comment.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.String |
public int getCompressionType()
Gets or sets the compression type.
Returns: int
public void setCompressionType(int value)
Gets or sets the compression type.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int |
public int getQuality()
Gets or sets image quality.
Returns: int
public void setQuality(int value)
Gets or sets image quality.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int |
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
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 |
public final int getFileFormat()
Gets or sets file format of signed document. Hidden because not in use for this options class.
Returns: int
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 |
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.