We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

HtmlFixed Size Reduction


We are using Aspose.Words (.NET) to create a HTML render of a word document

Our word docs are typically about generating HTML files of around 9 MB

I have managed reduce the size by setting JpegQuality = 10, using the following code

               var saveOptions = new Aspose.Words.Saving.HtmlFixedSaveOptions
                    ExportEmbeddedCss = true,
                    ExportEmbeddedFonts = true,
                    ExportEmbeddedImages = true,
                    ExportEmbeddedSvg = true,
                    JpegQuality = 30

                wordDocument.Save(renderFileName, saveOptions);

This creates a doc about 7.5 MB in size, so a big reduction in size
(we want to have items embedded in the html)

Are there any other settings in HtmlFixedSaveOptions which might also help reduce the size of the html



Could you please attach your input Word document here for testing? We will investigate the issue on our side and provide you more information.