ImageConvertOptions class
ImageConvertOptions class
Options for conversion to Image file type.
The ImageConvertOptions type exposes the following members:
Constructors
| Constructor | Description |
|---|---|
| init | Initializes a new instance of ImageConvertOptions. |
Properties
| Property | Description |
|---|---|
| background_color | The background color where supported by the source format. |
| brightness | The brightness adjustment applied to the image. |
| contrast | Adjusts image contrast. |
| crop_area | The crop area of the raster image after conversion. |
| flip_mode | The image flip mode. |
| gamma | The gamma used to adjust the image. |
| grayscale | The property indicates whether to convert into a grayscale image. |
| height | The desired image height after conversion. |
| horizontal_resolution | The desired image horizontal resolution after conversion; defaults to the input file’s resolution or 96 dpi. |
| jpeg_options | The Jpeg specific convert options. |
| psd_options | The PSD-specific convert options. |
| rotate_angle | The image rotation angle. |
| tiff_options | The Tiff specific convert options. |
| use_pdf | The use_pdf property is a boolean flag that determines whether PDF conversion is used. |
| vertical_resolution | The desired image vertical resolution after conversion; the default resolution is the resolution of the input file or 96 dpi. |
| webp_options | The Webp specific convert options. |
| width | The desired image width after conversion. |
| page_number | (inherited from CommonConvertOptions) |
| pages | (inherited from CommonConvertOptions) |
| pages_count | (inherited from CommonConvertOptions) |
| watermark | (inherited from CommonConvertOptions) |