source_converted.zip (2.4 MB)
When I use HtmlSaveOptions , the image is blurred.
HtmlSaveOptions htmlSaveOptions = new HtmlSaveOptions();
htmlSaveOptions.setPrettyFormat(true);
htmlSaveOptions.setExportFontsAsBase64(true);
htmlSaveOptions.setExportImagesAsBase64(true);
htmlSaveOptions.setExportShapesAsSvg(true);
htmlSaveOptions.setUseHighQualityRendering(true);
htmlSaveOptions.setMemoryOptimization(true);
But when I use HtmlFixedSaveOptions, the image is clear.
HtmlFixedSaveOptions htmlFixedSaveOptions = new HtmlFixedSaveOptions();
htmlFixedSaveOptions.setShowPageBorder(false);
htmlFixedSaveOptions.setPrettyFormat(true);
htmlFixedSaveOptions.setExportEmbeddedCss(true);
htmlFixedSaveOptions.setExportEmbeddedFonts(true);
htmlFixedSaveOptions.setExportEmbeddedImages(true);
htmlFixedSaveOptions.setExportEmbeddedSvg(true);
htmlFixedSaveOptions.setUseHighQualityRendering(true);
htmlFixedSaveOptions.setMemoryOptimization(true);