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 Feb 05, 2019 12:18 am
hi support,
we are facing a issue while trying to convert pdf into image. it throws object null reference error. we are using latest version of spire.pdf(v5.1.4.2040). below is the code that we are using to convert into image.
- Code: Select all
string fileSavePath = Server.MapPath("~/pdfpath/123.pdf");
using (var doc = new PdfDocument(fileSavePath))
{
for (int i = 0; i < doc.Pages.Count; i++)
{
string finalPdfPath = Server.MapPath("~/pdfpath/123_Page" + (i + 1) + ".png");
using (Image image = doc.SaveAsImage(i, PdfImageType.Bitmap, 192, 192))
{
image.Save(finalPdfPath, System.Drawing.Imaging.ImageFormat.Jpeg);
}
}
}
we have emailed you the original document in which we are facing issue.
-

jperkinsSC
-
- Posts: 95
- Joined: Thu Oct 30, 2014 10:01 pm
Tue Feb 05, 2019 4:24 am
Hello,
Thank you for your inquiry.
I have reproduced the issue and logged it in our bug tracking system. Once it is fixed, I will let you know.
Sorry for the incovenience caused!
Sincerely,
Jane
E-iceblue support team
-


Jane.Bai
-
- Posts: 1156
- Joined: Tue Nov 29, 2016 1:47 am
Mon Feb 25, 2019 9:45 pm
Hi
just checking ...its been 20 days and still waiting for the fix..... we have client waiting for us to resolve the issue....
-

jperkinsSC
-
- Posts: 95
- Joined: Thu Oct 30, 2014 10:01 pm
Tue Feb 26, 2019 1:29 am
Hi,
Thank you for your inquiry.
Your issue has been resolved and it is under testing phase.
Once it passes the test, we will provide the hotfix for you!
Sincerely,
Jane
E-iceblue support team
-


Jane.Bai
-
- Posts: 1156
- Joined: Tue Nov 29, 2016 1:47 am
Mon Mar 04, 2019 8:04 am
Hi Mubasher Ahmed Farrukh,
How are you?
Have you tried the hotfix?
Your feedback would be greatly appreciated!
Sincerely,
Jane
E-iceblue support team
-


Jane.Bai
-
- Posts: 1156
- Joined: Tue Nov 29, 2016 1:47 am