PngSaveOptions
Leave feedback
On this page
Inheritance: java.lang.Object, com.groupdocs.signature.options.saveoptions.SaveOptions, com.groupdocs.signature.options.saveoptions.imagessaveoptions.ImageSaveOptions
public class PngSaveOptions extends ImageSaveOptions
Png Save options for Image Documents.
| Constructor | Description |
|---|---|
| PngSaveOptions() | Creates PngSaveOptions with default values. |
| Method | Description |
|---|---|
| getBitDepth() | The bit depth. |
| setBitDepth(byte value) | The bit depth. |
| getColorType() | Gets or sets the type of the |
| PngColorType | |
| . | |
| setColorType(int value) | Gets or sets the type of the |
| PngColorType | |
| . | |
| getCompressionLevel() | The png image compression level in the 0-9 range, where 9 is maximum compression |
| and 0 is store mode. | |
| setCompressionLevel(int value) | The png image compression level in the 0-9 range, where 9 is maximum compression |
| and 0 is store mode. | |
| getFilterType() | Gets or sets the filter type |
| PngFilterType | |
| used during png file save process. | |
| setFilterType(int value) | Gets or sets the filter type |
| PngFilterType | |
| used during png file save process. | |
| getProgressive() | Gets or sets a value indicating whether this PngSaveOptions is progressive. |
| setProgressive(boolean value) | Gets or sets a value indicating whether this PngSaveOptions is progressive. |
public PngSaveOptions()
Creates PngSaveOptions with default values.
public byte getBitDepth()
The bit depth.
Returns: byte
public void setBitDepth(byte value)
The bit depth.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | byte |
public int getColorType()
Gets or sets the type of the PngColorType .
Returns: int
public void setColorType(int value)
Gets or sets the type of the PngColorType .
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int |
public int getCompressionLevel()
The png image compression level in the 0-9 range, where 9 is maximum compression and 0 is store mode.
Returns: int
public void setCompressionLevel(int value)
The png image compression level in the 0-9 range, where 9 is maximum compression and 0 is store mode.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int |
public int getFilterType()
Gets or sets the filter type PngFilterType used during png file save process.
Returns: int
public void setFilterType(int value)
Gets or sets the filter type PngFilterType used during png file save process.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int |
public boolean getProgressive()
Gets or sets a value indicating whether this PngSaveOptions is progressive.
Returns: boolean
public void setProgressive(boolean value)
Gets or sets a value indicating whether this PngSaveOptions is progressive.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean |
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.