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.

Wed Jun 14, 2017 12:24 am

Hi iceblue support,

I am trying to convert attached file to images using following code.

doc.LoadFromFile(<PDF File>);

for (int p = 0; p < doc.Pages.Count; p++)
{
using (System.Drawing.Image img = doc.SaveAsImage(p))
{
img.Save(<Save Path Per Each Page>);
}
}

For some PDFs, I am getting blank image output. Please let me know what causing this issue and is there any workaround. Also, let me know where to send smaple PDFs for you to reproduce this error.

Kind Regards,
Nuwan

nuwan
 
Posts: 4
Joined: Wed Apr 12, 2017 5:50 am

Wed Jun 14, 2017 2:34 am

Dear Nuwan,

Thanks for your inquiry.
Please upload the files which have issues here, or send them to us(support@e-iceblue.com) via email for investigation. We will investigate it when getting the sample files.

Thanks,
Betsy
E-iceblue support team
User avatar

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

Return to Spire.PDF