Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Thu Nov 13, 2025 10:40 am

Hello,

We are currently experiencing a problem where black areas appear on the PDF file when converting a XPS file to PDF. The XPS file originates from a scanned PDF file.

Please find the XPS file attached.

We are using Spire.Pdf for .NET version 11.11.1 on a Windows 10 64-bit computer.

Kind regards

Code: Select all
using (var spireDocument = new Spire.Pdf.PdfDocument())
{
    spireDocument.LoadFromXPS(service.SourceXpsFilePath);

    spireDocument.SaveToFile(service.TargetPdfFilePath);
}

sgerber
 
Posts: 32
Joined: Tue Nov 07, 2017 10:21 am

Fri Nov 14, 2025 3:06 am

Hello

Thanks for your post.
I have reproduced the issue and logged it into our bug tracking system with SPIREPDF-7832. Our Dev team colleagues will further optimize it. Once there are any updates, I will let you know. Thanks for your understanding.

Sincerely,
Lisa
E-iceblue support team
User avatar

Lisa.Li
 
Posts: 1536
Joined: Wed Apr 25, 2018 3:20 am

Return to Spire.PDF