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.
Unfortunately, activation email could not send to your email. Please try again.

Problem with HTMLToPdf Rendering with PNG

Thread ID:

Created:

Updated:

Platform:

Replies:

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

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




Sri Subhashini M [Syncfusion]
Replied On November 5, 2008 05:23 AM

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 salessupport@syncfusion.com

Please let me know if this helps you.

Regards,
Suba



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

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


Administrator [Syncfusion]
Replied On November 13, 2008 05:50 AM

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



CONFIRMATION

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.

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.

;