SVG generated from flattened PDF has troubles with highlighted text

Hello, here is my problem,

Original_highlight.pdf contains two highlight annotations, the green is made with adobe reader, the yellow with aspose.
I flatten it with aspose > flattened_highlight.pdf : the output pdf seems valid, it displays correctly in adobe or foxit.
In Aspose, I can generate a PNG image and it’s fine.

But if I generate an SVG image from the flattened PDF, the yellow highlight generated with Aspose hide the text behind while the green highlight made with Adobe is correct.
Checking the svg file, there is a “blend-mode:multiply” used for the green highlight that allow the correct display.

Regards

flattened_highlight.svg.zip (37.3 KB)

flattened_highlight.pdf (102.1 KB)

flattened_highlight.png (18.1 KB)

original_highlight.pdf (103.3 KB)

@louis.a

Would you please share the code snippet that you are using to convert PDF into SVG? We will test the scenario in our environment and address it accordingly.

namespace Aspose.Pdf.Examples.CSharp.AsposePDF.DocumentConversion
{
    public class PDFToSVG
    {
        public static void Run()
        {
            // ExStart:PDFToSVG
            // The path to the documents directory.
            string dataDir = RunExamples.GetDataDir_AsposePdf_DocumentConversion();
            // Load PDF document
            Document doc = new Document(@"C:\TEST\bugreport\flattened_highlight.pdf");
            // Instantiate an object of SvgSaveOptions
            SvgSaveOptions saveOptions = new SvgSaveOptions();
            // Do not compress SVG image to Zip archive
            saveOptions.CompressOutputToZipArchive = false;
            // Save the output in SVG files
            doc.Save(@"C:\TEST\bugreport\from_sample.svg", saveOptions);
            // ExEnd:PDFToSVG
        }
    }
}

@louis.a

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): PDFNET-59267

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.