Aspose::Pdf::Optimization::ImageCompressionOptions class
Contents
[
Hide
]ImageCompressionOptions class
Class contains set options for image compression.
class ImageCompressionOptions : public System::Object
Methods
Method | Description |
---|---|
get_CompressImages() const | If this flag is set to true images will be compressed in the document. compression level is specfied with ImageQuality property. |
get_Encoding() const | Gets encoding used to store images. |
get_ImageQuality() const | Specifies level of image compression when CompressIamges flag is used. |
get_MaxResolution() const | Specifies maximum resolution of images. If image has higher resolition it will be scaled. |
get_ResizeImages() const | If this flag set to true and CompressImages is true images will be resized if image resoultion is greater then specified MaxResolution parameter. |
get_Version() const | Version of compression algorithm. Possible values are: 1. standard compression, 2. fast (improved compression which is faster then standard but may be applicable not for all images), 3. mixed (standard compression is applied to images which can not be compressed by faster algorithm, this may give best compression but more slow then “fast” algorithm. Version “Fast” is not applicable for resizing images (standard method will be used). Default is “Standard”. |
ImageCompressionOptions() | |
set_CompressImages(bool) | If this flag is set to true images will be compressed in the document. compression level is specfied with ImageQuality property. |
set_Encoding(ImageEncoding) | Sets encoding used to store images. |
set_ImageQuality(int32_t) | Specifies level of image compression when CompressIamges flag is used. |
set_MaxResolution(int32_t) | Specifies maximum resolution of images. If image has higher resolition it will be scaled. |
set_ResizeImages(bool) | If this flag set to true and CompressImages is true images will be resized if image resoultion is greater then specified MaxResolution parameter. |
set_Version(ImageCompressionVersion) | Version of compression algorithm. Possible values are: 1. standard compression, 2. fast (improved compression which is faster then standard but may be applicable not for all images), 3. mixed (standard compression is applied to images which can not be compressed by faster algorithm, this may give best compression but more slow then “fast” algorithm. Version “Fast” is not applicable for resizing images (standard method will be used). Default is “Standard”. |
See Also
- Class Object
- Namespace Aspose::Pdf::Optimization
- Library Aspose.PDF for C++