Compress class

Compress class

Represents a group of methods intended to compress Presentation.

The Compress type exposes the following members:

Methods

MethodDescription
compress_presentation(presentation)Reduces the size of a presentation by applying all available compression steps:

* Removes unused master slides Aspose.Slides.LowCode.Compress.RemoveUnusedMasterSlides(Aspose.Slide.
* Removes unused layout slides Aspose.Slides.LowCode.Compress.RemoveUnusedLayoutSlides(Aspose.Slide.
* Keeps only the glyphs actually used in embedded fonts Aspose.Slides.LowCode.Compress.CompressEmbeddedFonts(Aspose.Slide.
* Reduces picture resolution to 150 DPI and deletes cropped areas of pictures Aspose.Slides.LowCode.Compress.CompressImages(Aspose.Slides.IPresentation,Aspose.Slides.Expor.
remove_unused_master_slides(pres)Makes compression of the Presentation by removing unused master slides.
remove_unused_layout_slides(pres)Makes compression of the Presentation by removing unused layout slides.
compress_embedded_fonts(pres)Makes compression of the Presentation by removing unused characters from embedded fonts.
compress_images(presentation, resolution)Reduces the resolution of pictures in the presentation and deletes their cropped areas,
similar to PowerPoint’s “Compress Pictures” applied to all pictures.
Pictures on slides, layout slides and master slides are processed, including pictures inside group shapes
and picture fills of shapes.

See Also