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.

Thu Jul 05, 2018 10:44 am

I converted PDF to Image with Spire.PDF.
Baybe there are a couple of problems.
1.
messy2.png

2.
messy1.png

yangjuncn
 
Posts: 4
Joined: Sun Jun 24, 2018 1:49 am

Fri Jul 06, 2018 1:47 am

Dear yangjuncn,

Thanks for your inquiry.
In order to help us investigate further, please provide your input document and the code you were using.

Thanks,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Fri Jul 06, 2018 3:50 am

public List<Bitmap> toImage(string pdfFile)
{
List<Bitmap> list=new List<Bitmap>();
using (PdfDocument doc = new PdfDocument())
{
doc.LoadFromFile(pdfFile);

for (int indexPage = 0; indexPage < doc.Pages.Count; indexPage++)
{
using (Image image = doc.SaveAsImage(indexPage, 300, 300))
{
Bitmap bt = new Bitmap(image);
list.Add(bt);
}
}
}
return list;
}

yangjuncn
 
Posts: 4
Joined: Sun Jun 24, 2018 1:49 am

Fri Jul 06, 2018 6:27 am

Dear yangjuncn,

Many thanks for your information.
I have noticed your issue and logged it in our bug tracking system. We will let you know once it is fixed.
Sorry for the inconvenience caused.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Sat Aug 18, 2018 3:59 pm

Dear Besty.jiang,

Is the bug fixed?

Thanks
yangjuncn

yangjuncn
 
Posts: 4
Joined: Sun Jun 24, 2018 1:49 am

Mon Aug 20, 2018 8:40 am

Dear yangjuncn,

So sorry that your issue is not resolved yet. Our Dev team is still working on it, once there is any good news, we will let you know.
We apologize for the inconvenience.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Tue Aug 21, 2018 9:55 am

Dear yangjuncn,

Thanks for waiting.
Considering your urgent situation, here is a temporary hotfix.
https://www.e-iceblue.com/downloads/Tem ... _4.8.9.zip
Since the fonts in your PDF are specific and different, when converting you need to use different code. As for the file "031001700112_04768983.pdf", please use the code "Image image = doc.SaveAsImage(indexPage, dpi, dpi,true)". For the file "031001700411_37099943.pdf", please use the code "doc.SaveAsImage(indexPage, dpi, dpi)".
Any question, welcome to get it back to us.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Fri Aug 24, 2018 9:13 am

Dear yangjuncn,

Greetings from E-iceblue.
Did you use the hotfix ? Has your issue been resolved ?

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Fri Aug 24, 2018 9:52 am

Dear Besty.jiang,
Thank you very much!
I used the hotfix.My issue have been resolved!

Thanks.
Yangjuncn

yangjuncn
 
Posts: 4
Joined: Sun Jun 24, 2018 1:49 am

Fri Aug 24, 2018 9:56 am

Dear Yangjuncn,

Thanks for your feedback.
If there is any question, please feel free to contact us.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Return to Spire.PDF

cron