Problem with HTMLToPdf Rendering with PNG

I have installed syncfusion 6.4 and am using the inbuilt HtmlToPdf Test page as part of the samples. When I ask it to render a page with PNG's in it as a metafile no images come out.
JPEG's are coming out fine.

When I render as Bitmap the image is correct.

I have tried executing the sample code from multiple servers all with the same result. Is there anything wrong with rendering PNG's in metafiles?

Thanks,
Jason




3 Replies

SS Sri Subhashini M Syncfusion Team November 5, 2008 10:23 AM UTC

Hi Jason,

Thank you for choosing Syncfusion product.

HtmlConverter doesn’t convert the PNG images properly in Metafile type

I am able to reproduce mentioned the issue. The issue has been fixed and it is included in the Development build v7.1.0.1.

You can refer to the below location for download,

http://www.syncfusion.com/downloads/product/build.aspx

For unlock key, Please send an email to [email protected]

Please let me know if this helps you.

Regards,
Suba




AD Administrator Syncfusion Team November 12, 2008 07:37 AM UTC

Thanks Suba,

I had a change to try 7.1.0.2 and found that indeed PNG is working. Unfortunately it looks like the PNG Alpha is not working.

Ie Testing this page http://www.w3.org/Graphics/PNG/inline-alpha.html produces a black colour where the alpha transparency should occur.

Is there an option to enable Alpha?

Thank you,
Jason



AD Administrator Syncfusion Team November 13, 2008 10:50 AM UTC

Hi Jason,

I regret for the long delay in getting back with you.

Alphablending support in HtmlConverter

I was able to reproduce the issue which you mentioned here. We have notified our development team regarding this issue and we will update you with service pack assemblies once the defect has been fixed.

Please let me know if you need any further assistance.

Regards,
Suba



Loader.
Up arrow icon