ExportToXPS libpng error

The PDF Creator .NET Library enables you to create secure PDF documents on the fly and to view, print and process existing PDF documents. If you have any questions about PDF Creator .Net, please post them here.
Post Reply
JosephHumphrey
Posts: 1
Joined: Thu Jun 19 2008

ExportToXPS libpng error

Post by JosephHumphrey »

When I try to export a document to XPS the function writes out the console "libpng error: Invalid bit depth in IHDR". ExportToXPS returns true but the document generated will not work because of an image exception.

"System.Windows.Markup.XamlParseException: Cannot convert string '/Resources/image1.png' in attribute 'ImageSource' to object of type 'System.Windows.Media.ImageSource'. Cannot read from the stream. Error at object 'System.Windows.Media.ImageBrush', Line 67 Position 13"

image1.png is a 0 byte file.
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Re: ExportToXPS libpng error

Post by Joan »

Hello,

I found that this post is unreplied. Did you contact our Technical Support team about this issue? Did you try the latest version 3.02 of the product?
Custom Brand the Amyuni PDF Printer Driver http://www.amyuni.com/en/developer/branding/index.html

Amyuni PDF Converter tested for true PDF performance. View results - http://www.amyuni.com/benchmark
Post Reply