PDF Generating Tool Support Forum

HOME   Login   Register    Search




  Subject: pdf renders garbled png image
   PostPosted: 17 Dec 2010, 02:48 
Hi,

I am evaluating pd4ml and have run into a problem where, when my test html file references a png image, the image in the resultant pdf file comes out garbled.

I've tested converting the png image to gif, and then the resultant pdf file renders the image correctly, so I'm wondering if there are known bugs regarding png images?

Thanks.


  Subject: Re: pdf renders garbled png image
   PostPosted: 21 Dec 2010, 18:07 
An HTML document sample and its PDF output, sent to support pd4ml com would help us to analyze the problem reasons.


  Subject: Re: pdf renders garbled png image
   PostPosted: 21 Dec 2010, 20:56 
Sure, here's the sample html I'm using (just using wikipedia's png logo to test):

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>Test</title>
</head>
<body>
<img src="http://upload.wikimedia.org/wikipedia/commons/6/63/Wikipedia-logo.png" />
</body>
</html>

And I've attached the pdf output.


Attachments:
pd4ml_output.pdf [42.7 KiB]
Downloaded 58 times
  Subject: Re: pdf renders garbled png image
   PostPosted: 21 Dec 2010, 21:04 
Well, it seems to be .NET specific issue. I've just tested with Java version - everything is ok. See attached.

Which version of PD4ML do you use?


Attachments:
test.pdf [56.33 KiB]
Downloaded 56 times
  Subject: Re: pdf renders garbled png image
   PostPosted: 21 Dec 2010, 21:25 
Hi, yes, we are using the .Net version: pd4ml.pro.trial.dotnet20.360b3


  Subject: Re: pdf renders garbled png image
   PostPosted: 27 Dec 2010, 12:33 
As I see the issue impacts PNG24 images with alpha (translucency) layer only. We've been working on a bugfix.


  Subject: Re: pdf renders garbled png image
   PostPosted: 04 Jan 2011, 21:25 
Thank you. Please let me know when the fix is available.



[Reply]     [ 7 posts ] 

Copyright ©2004-10 zefer|org. All rights reserved. Bookmark and Share