@vleb.isilog,
Our development team investigated the issue. Aspose.Slides saves the smallest output HTML document by default with 72dpi and deleted cropped areas. For better quality, you can use the HtmlOptions.PicturesCompression
and set it to PicturesCompression.Dpi96
or higher as shown below:
HtmlOptions htmlOptions = new HtmlOptions
{
PicturesCompression = PicturesCompression.Dpi96
};
presentation.Save("outputDocument_dpi96.html", SaveFormat.Html, htmlOptions);
If you need full-quality images, please use the HtmlOptions.DeletePicturesCroppedAreas
property:
HtmlOptions htmlOptions = new HtmlOptions
{
DeletePicturesCroppedAreas = false
};
presentation.Save("outputDocument_noCrop.html", SaveFormat.Html, htmlOptions);
Documents: Convert Powerpoint PPT and PPTX to HTML
API Reference: HtmlOptions Class
Note: Starting from version 21.8, images will be rendered at the highest quality if the DeletePictureCroppedAreas = false
option is specified.