We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Problem with HTMLToPdf Rendering with PNG

Thread ID:





77524 Nov 5,2008 05:21 AM UTC Nov 13,2008 10:50 AM UTC ASP.NET Web Forms (Classic) 3
Tags: PDF
Administrator [Syncfusion]
Asked On November 5, 2008 05:21 AM UTC

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?


Sri Subhashini M [Syncfusion]
Replied On 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,


For unlock key, Please send an email to salessupport@syncfusion.com

Please let me know if this helps you.


Administrator [Syncfusion]
Replied On November 12, 2008 07:37 AM UTC

Thanks Suba,

I had a change to try 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,

Administrator [Syncfusion]
Replied On 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.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon