Aspose::Words::Saving::PdfSaveOptions::get_ImageCompression method
Contents
[
Hide
]PdfSaveOptions::get_ImageCompression method
Specifies compression type to be used for all images in the document.
Aspose::Words::Saving::PdfImageCompression Aspose::Words::Saving::PdfSaveOptions::get_ImageCompression() const
Remarks
Default is Auto.
Using Jpeg lets you control the quality of images in the output document through the JpegQuality property.
Using Jpeg provides the fastest conversion speed when compared to the performance of other compression types, but in this case, there is lossy JPEG compression.
Using Auto lets to control the quality of Jpeg in the output document through the JpegQuality property, but for other formats, raw pixel data is extracted and saved with Flate compression. This case is slower than Jpeg conversion but lossless.
See Also
- Enum PdfImageCompression
- Class PdfSaveOptions
- Namespace Aspose::Words::Saving
- Library Aspose.Words for C++