JpegOptions
Leave feedback
On this page
Inheritance: java.lang.Object, com.groupdocs.conversion.contracts.ValueObject
All Implemented Interfaces: java.io.Serializable
public final class JpegOptions extends ValueObject implements Serializable
Options for conversion to Jpeg file type.
| Constructor | Description |
|---|---|
| JpegOptions() | Initializes new instance of JpegOptions class. |
| Method | Description |
|---|---|
| getQuality() | Desired image quality. |
| setQuality(int value) | Desired image quality. |
| getColorMode() | Jpg color mode. |
| setColorMode(JpgColorModes value) | Jpg color mode. |
| getCompression() | Jpg compression method. |
| setCompression(JpgCompressionMethods value) | Jpg compression method. |
public JpegOptions()
Initializes new instance of JpegOptions class.
public final int getQuality()
Desired image quality. The value must be between 0 and 100. The default value is 100.
Returns: int
public final void setQuality(int value)
Desired image quality. The value must be between 0 and 100. The default value is 100.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int |
public final JpgColorModes getColorMode()
Jpg color mode.
Returns: JpgColorModes
public final void setColorMode(JpgColorModes value)
Jpg color mode.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | JpgColorModes |
public final JpgCompressionMethods getCompression()
Jpg compression method.
Returns: JpgCompressionMethods
public final void setCompression(JpgCompressionMethods value)
Jpg compression method.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | JpgCompressionMethods |
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.