ImageCompressionOptions
Overview
ImageCompressionOptions is a class in Aspose.PDF FOSS for .NET.
Image-compression sub-options for OptimizationOptions.
This class provides 1 method for working with ImageCompressionOptions objects in .NET programs.
Available methods include: ImageCompressionOptions.
All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Properties: CompressImages, Encoding, ImageQuality, MaxResolution, ResizeImages, Version.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
CompressImages | bool | Read/Write | If this flag is set to true images will be compressed in the document. |
ImageQuality | int | Read/Write | Specifies level of image compression when CompressImages flag is used. |
MaxResolution | int | Read/Write | Specifies maximum resolution of images. |
ResizeImages | bool | Read/Write | If this flag set to true and CompressImages is true images will be resized if image resolution is greater then specified MaxResolution. |
Encoding | ImageEncoding | Read/Write | Gets or sets encoding used to store images. |
Version | ImageCompressionVersion | Read/Write | Determines algorithm version (standard, fast, or mixed compression options). |
Methods
| Signature | Description |
|---|---|
ImageCompressionOptions() | The default constructor. |