Browse our Products

Aspose.Slides for C++ 26.7 Release Notes

Supported Platforms

  • Aspose.Slides for C++ for Windows x64/x86 (Microsoft Visual Studio 2017 or later).
  • Aspose.Slides for C++ for Linux (Clang 3.9 or later, GCC 6.1 or later, glibc 2.23 or later).
  • Aspose.Slides for C++ for macOS x86_64/ARM64 (Xcode 13.4 or later).

New Features and Enhancements

KeySummaryCategoryRelated Documentation
SLIDESNET-43224DPI option for images in generated HTML5 documentFeature
SLIDESNET-45420Notes and comments are missing when saving a presentation as ODPEnhancementhttps://docs.aspose.com/slides/net/convert-openoffice-odp/

Other Improvements and Changes

KeySummaryCategoryRelated Documentation
SLIDESCPP-4076Slide content is displayed incorrectly when converting PPTX to HTML5Bug
SLIDESCPP-4132Incorrect positions are returned for shapes inside SmartArt when the SmartArt is placed in a groupBug
SLIDESCPP-4145Use Aspose.Slides for .NET 26.7 featuresEnhancementhttps://releases.aspose.com/slides/net/release-notes/2026/aspose-slides-for-net-26-7-release-notes/

Public API Changes

Added New Methods: IHtml5Options::get_PicturesCompression() and IHtml5Options::set_PicturesCompression()

The new get_PicturesCompression() and set_PicturesCompression() methods have been added to the IHtml5Options interface and implemented in the Html5Options class. These methods work in the same way as IHtmlOptions::get_PicturesCompression()/set_PicturesCompression().

Image compression is applied according to the image usage bounds in the exported document and the selected DPI. For example, suppose there is an image on a slide with an original size of 1000×1000 pixels, and the image is scaled to 100×100 pixels on the slide. If PicturesCompression is set to Dpi72, the image will be exported at 100×100 pixels. If, under the same conditions, PicturesCompression is set to Dpi150, the image will be exported at 208×208 pixels (100 × 150 / 72). The DocumentResolution value preserves the original image dimensions. The default value is PicturesCompression::DocumentResolution.

The following example demonstrates how to use these methods:

Usage example

SharedPtr<Presentation> pres = MakeObject<Presentation>(u"demo.pptx");
SharedPtr<Html5Options> opts = MakeObject<Html5Options>();
opts->set_PicturesCompression(PicturesCompression::Dpi150);
pres->Save(u"demo-out.html", SaveFormat::Html5, opts);