Hi, just as of now, my customer is also complaining about the rendered image which I am extracting from PDFDocument Pages.
I'm extracting the whole PdfPage to Image with the following code
- Code: Select all
var xDoc = new PdfDocument(pdfData);
ActPage = 1;
_nPageCount = xDoc.Pages.Count;
for (var i = 0; i < xDoc.Pages.Count; i++)
{
var xI = xDoc.SaveAsImage(i);
}
where pdfData is a byteArray.
I'm not really sure if this is the same problem but I think it could somehow be related.
I'm using the Spire.Pdf.Wpf Dll Version 6, 5, 14, 2240
The problem is caused by the file attached.
When I'm saving the xDoc as File. It get's displayed correctly, everything fine.
But when I'm saving the PdfImages (Variable xI) then the images of page 1 and 2 are correctly shown.
But Page3 is converted to some strange format!!
I've attached the pdf and the weird image.
Login to view the files attached to this post.