Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.
Tue May 05, 2015 1:44 pm
Hello,
I have tried to convert a PDF file to a PNG image using Free Spire.PDF for .NET, here is the code:
- Code: Select all
var pdfDoc = new Spire.Pdf.PdfDocument();
pdfDoc.LoadFromFile(pdfFileName, Spire.Pdf.FileFormat.PDF);
var image = pdfDoc.SaveAsImage(0);
image.Save(pngFileName, System.Drawing.Imaging.ImageFormat.Png);
PDF:
https://dl.dropboxusercontent.com/u/5985881/test2.pdfPNG:
https://dl.dropboxusercontent.com/u/5985881/test2.pngAs you can see, all gradients are gone. Is there any solution for this problem?
I have used the nuget version of Spire.Pdf (3.2.52.56040)
Thanks
Thorsten
-
set
-
- Posts: 2
- Joined: Tue May 05, 2015 1:19 pm
Wed May 06, 2015 2:07 am
Hello,
Thanks for your inquiry.
I have reproduced your issue. And I have posted the issue to our dev team. We will inform you when it is fixed. Sorry for the inconvenience.
Sincerely,
Sweety
E-iceblue support team
-
sweety1
-
- Posts: 539
- Joined: Wed Mar 11, 2015 1:14 am
Tue Jun 16, 2015 5:58 am
Hello,
Sorry to keep you waiting.
The new version of Spire.PDF( Spire.PDF Pack(Hot Fix) Version:3.4.27 ) solved your issue " Convert PDF to PNG - Gradients are missing" has been released. Please download it via link below and have a try:
http://www.e-iceblue.com/Download/download-pdf-for-net-now.htmlBest Regards,
Sweety
E-iceblue support team
-
sweety1
-
- Posts: 539
- Joined: Wed Mar 11, 2015 1:14 am
Wed Jun 17, 2015 9:17 am
Hello,
Have you tried the
Spire.PDF Pack(Hot Fix) Version:3.4.27?Has your issue been resolved?
Thanks for your feedback.
Best Regards,
Sweety
E-iceblue support team
-
sweety1
-
- Posts: 539
- Joined: Wed Mar 11, 2015 1:14 am
Fri Jun 19, 2015 7:16 am
Hello,
I have updated to the new version and at the first look, everything seems to be ok (tried it with several documents).
Thank you!
When can I expect a corrected version of Free Spire.PDF for .NET?
Regards
Thorsten
-
set
-
- Posts: 2
- Joined: Tue May 05, 2015 1:19 pm
Mon Jun 22, 2015 7:45 am
Hello,
Sorry that we only maintain our Free version when we have enough time.
Sincerely,
Gary
E-iceblue support team
-
Gary.zhang
-
- Posts: 1380
- Joined: Thu Apr 04, 2013 1:30 am