When we are converting PDF into HTML using aspose.pdf(.NET) , images are getting added in “SVG Object” tag instead of tag. Please refer above attached screenshot of our requirement - <name_screeenshot>
E.g.:(.NET code used)
var htmlOptions = new HtmlSaveOptions
{
ConvertMarkedContentToLayers = true,
FixedLayout = true,
FontSavingMode = FontSavingModes.SaveInAllFormats,
AntialiasingProcessing = AntialiasingProcessingType.TryCorrectResultHtml,
};
//ImageFolder Path
htmlOptions.SpecialFolderForAllImages = “\Images”;
Note:(following screenshot’s are uploaded for reference)
- sample PDF used for convert PDFToHTML : lorem-ipsum.pdf (103.6 KB)
- Issues getting our code screenshot vs expected required html output from Aspose team for our requirement screenshot.Issues getting our code screenshot vs expected required html output for our requirement screenshot.png (511.7 KB)
3.output html - code split up screenshotoutputhtml-codesplitup-screenshot.jpg (237.5 KB)
Kindly check & let me know if required any further more information
Thanks & Regards,
Manikandan