ImageConvertOptions class
ImageConvertOptions class
Options for conversion to Image file type.
Inheritance: ImageConvertOptions →
CommonConvertOptions →
ConvertOptions →
ValueObject
The ImageConvertOptions type exposes the following members:
Constructors
| Constructor | Description |
|---|---|
| init | Initializes new instance of ImageConvertOptions class. |
Properties
| Property | Description |
|---|---|
| format | Overrides the Format property to ensure it is of type ImageFileType. |
| watermark | Implements IWatermarkedConvertOptions.watermark |
| page_number | Implements IPagedConvertOptions.page_number |
| pages_count | Implements IPagedConvertOptions.pages_count |
| pages | Implements IPageRangedConvertOptions.pages |
| width | Desired image width after conversion. |
| height | Desired image height after conversion. |
| use_pdf | If true, the input firstly is converted to PDF and after that to desired format. |
| horizontal_resolution | Desired image horizontal resolution after conversion. The default resolution is the resolution of the input file or 96 dpi. |
| vertical_resolution | Desired image vertical resolution after conversion. The default resolution is the resolution of the input file or 96 dpi. |
| tiff_options | Tiff specific convert options. |
| psd_options | Psd specific convert options. |
| webp_options | Webp specific convert options. |
| grayscale | Indicates whether to convert into grayscale image. |
| rotate_angle | Image rotation angle. |
| jpeg_options | Jpeg specific convert options. |
| flip_mode | Image flip mode. |
| brightness | Adjusts image brightness. |
| contrast | Adjusts image contrast. |
| gamma | Adjusts image gamma. |
| background_color | Sets background color where supported by the source format |
Methods
| Method | Description |
|---|---|
| equals | Determines whether two object instances are equal. |
| clone | Clones current options instance. |
See Also
- module
groupdocs.conversion.options.convert - class
CommonConvertOptions - class
ConvertOptions - class
ImageConvertOptions - class
ValueObject