ImageConvertOptions

ImageConvertOptions class

Options for conversion to Image file type.

public sealed class ImageConvertOptions : CommonConvertOptions<ImageFileType>

Constructors

Name Description
ImageConvertOptions() Initializes new instance of ImageConvertOptions class.

Properties

Name Description
BackgroundColor { get; set; } Sets background color where supported by the source format
Brightness { get; set; } Adjusts image brightness.
Contrast { get; set; } Adjusts image contrast.
FlipMode { get; set; } Image flip mode.
Format { get; set; } The desired file type the input document should be converted to.
virtual Format { get; set; } Implements Format
Gamma { get; set; } Adjusts image gamma.
Grayscale { get; set; } Indicates whether to convert into grayscale image.
Height { get; set; } Desired image height after conversion.
HorizontalResolution { get; set; } Desired image horizontal resolution after conversion. The default resolution is the resolution of the input file or 96 dpi.
JpegOptions { get; set; } Jpeg specific convert options.
PageNumber { get; set; } Implements PageNumber
Pages { get; set; } Implements Pages
PagesCount { get; set; } Implements PagesCount
PsdOptions { get; set; } Psd specific convert options.
RotateAngle { get; set; } Image rotation angle.
TiffOptions { get; set; } Tiff specific convert options.
UsePdf { get; set; } If true, the input firstly is converted to PDF and after that to desired format.
VerticalResolution { get; set; } Desired image vertical resolution after conversion. The default resolution is the resolution of the input file or 96 dpi.
Watermark { get; set; } Implements Watermark
WebpOptions { get; set; } Webp specific convert options.
Width { get; set; } Desired image width after conversion.

Methods

Name Description
Clone() Clones current options instance.
override Equals(object) Determines whether two object instances are equal.
virtual Equals(ValueObject) Determines whether two object instances are equal.
override GetHashCode() Serves as the default hash function.

See Also