PDF Rasterisation fails

Hi,

When trying to rasterise this PDF
onlyIMG.pdf (20.1 KB)

using a code such as

        using Document pdfDocument = new (...);
        var outputStream = new MemoryStream();

        PngDevice imageDevice = new();
        imageDevice.Process(pdfDocument.Pages[0], outputStream);

We get a blank page with only the qrcode.

If we strip the clipping commands from the document, the rasterisation succeeds…

Would you have any idea what could be the problem?

Best regards,

Olivier

@Olivier.G

Can you please share the output image that you obtained at your end?

@asad.ali

Sure, here it is
sample_001.png (12.6 KB)

Incidentally, we haven’t encountered any such problem with other PDF tools.

@Olivier.G

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-58919

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.