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 11, 2021 9:57 am

Hi..
Currently, I'm using the spire pdf version 7.3.7.2040. Everything is ok.
but I've encountered one file that Spire.Pdf unable to convert correctly into an image. The file has 3 pages and right now it shows a blank image for the first page after conversion.
Since the file that gt the problem is confidential, I will send it through email for you to test.

Thanks..

xiao0207
 
Posts: 43
Joined: Thu Dec 13, 2018 9:50 am

Tue May 11, 2021 10:42 am

Hello,

Thanks for your inquiry and providing your input file via email.
I converted your input file to images and did find the first page is blank. I have logged it in our bug tracking system with the ticket SPIREPDF-4281. If there is any update, we will inform you immediately. Apologize for the inconvenience cause.

Sincerely,
Brian
E-iceblue support team
User avatar

Brian.Li
 
Posts: 1271
Joined: Mon Oct 19, 2020 3:04 am

Wed May 12, 2021 7:36 am

I have a similar problem.

I'm trying to convert the first page of a PDF document into an image.
This works fine on Windows. On Linux the image is empty.

Code:
Code: Select all
var pdfDocument = new Spire.Pdf.PdfDocument();
pdfDocument.LoadFromFile("test.pdf");

using (var bmp = pdfDocument.SaveAsImage(0))
{
    using (var fs = System.IO.File.OpenWrite("test.png"))
    {
        bmp.Save(fs, System.Drawing.Imaging.ImageFormat.Png);
    }
}

danielpalme
 
Posts: 5
Joined: Wed May 12, 2021 7:25 am

Wed May 12, 2021 8:31 am

Hello,

Thanks for your inquiry.
Please note that when using our Spire.PDF to convert PDF to image, you need to install all fonts used in the PDF file in your system. Please make sure you have installed the corresponding fonts on your environment.
If the issue still occurs after installing the fonts, please provide your input file to help us investigate further. You could send it to us (support@e-iceblue.com) via email. Thanks in advance.

Sincerely,
Brian
E-iceblue support team
User avatar

Brian.Li
 
Posts: 1271
Joined: Mon Oct 19, 2020 3:04 am

Wed May 19, 2021 10:19 am

Hello,

Has your issue been resolved? Any feedback will be greatly appreciated.

Sincerely,
Brian
E-iceblue support team
User avatar

Brian.Li
 
Posts: 1271
Joined: Mon Oct 19, 2020 3:04 am

Mon May 24, 2021 4:20 am

Hi Brian,

Is there any update on this issue?

Best regards

xiao0207
 
Posts: 43
Joined: Thu Dec 13, 2018 9:50 am

Mon May 24, 2021 8:22 am

Hello,

Thanks for your follow up.
I just checked the status of your issue and found it has been resolved. Our Test team is now testing the hotfix. Once it passes the test, we will prepare a fixed version for you. Thanks for your patience.

Sincerely,
Brian
E-iceblue support team
User avatar

Brian.Li
 
Posts: 1271
Joined: Mon Oct 19, 2020 3:04 am

Tue May 25, 2021 7:04 am

Hi Brian,

Thank for reply, I am helping xiao0207 to follow up on this issue. This is our production issue and we need the bug fix urgently.
May I know when is the targeted release date for the hot fix? So that we can coordinate our project.

Thank you

j2j2j2j2
 
Posts: 9
Joined: Tue May 25, 2021 6:58 am

Tue May 25, 2021 10:50 am

Hello,

Thanks for your follow up.

To make sure your issue is completely solved, we need to perform multiple rounds of tests on it. I’m very sorry that this issue is still in the test phase. I have urged our Test team to speed up the test. Anyway, once it passes the test, we will do our best to provide you with a new version within this week.

Sincerely,
Brian
E-iceblue support team
User avatar

Brian.Li
 
Posts: 1271
Joined: Mon Oct 19, 2020 3:04 am

Fri May 28, 2021 2:09 am

Hi Brian,

Is the issue passed the testing phase?
If yes, when is the release date?

Thanks
Jacky Lee

j2j2j2j2
 
Posts: 9
Joined: Tue May 25, 2021 6:58 am

Fri May 28, 2021 10:47 am

Hello Jacky,

Regarding the issue SPIREPDF-4281, gald to tell you that our Dev team has fixed it.
Considering your urgent situation, we first compiled a temporary version for you. Please download it for testing. Looking forward to your test results.

Sincerely,
Brian
E-iceblue support team
User avatar

Brian.Li
 
Posts: 1271
Joined: Mon Oct 19, 2020 3:04 am

Mon May 31, 2021 5:33 am

Hi Brian,

I have tested the hot fix, the first page of the pdf still shows a blank image after conversion.
My project is using .net framework 4.6.2.

I have tried the following:
1. Replaced spire.xls.dll, spire.pdf.dll, spire.license.dll, spire.doc.dll from NET 4.6 into my project. (these are all the dll used in my project)
2. Clean and rebuild project. ( to make sure the dlls are in the correct version that you gave to us)
3. I even replace spire.xls.dll, spire.pdf.dll, spire.license.dll, spire.doc.dll from NET 4.0 into my project.

Kindly help to test the dll using the test file that sent by xiao0207.
We are looking forward to close this issue by this Wednesday.

Thank you

j2j2j2j2
 
Posts: 9
Joined: Tue May 25, 2021 6:58 am

Mon May 31, 2021 8:24 am

Hello,

Thanks for your feedback.
I tested your case with the temporary version we provided, but the first page of the pdf can be converted to a image well. Here I uploaded my test project, please run it directly on your side and then let us know your test results.

If the issue only occurs in your project, to help us investigate further, , please provide us with your project. Thanks in advance.

Sincerely,
Brian
E-iceblue support team
User avatar

Brian.Li
 
Posts: 1271
Joined: Mon Oct 19, 2020 3:04 am

Tue Jun 01, 2021 4:51 am

Hi Brian,

With xiao0207 help, I am able to the issue using your DLL.

Thank you

j2j2j2j2
 
Posts: 9
Joined: Tue May 25, 2021 6:58 am

Tue Jun 01, 2021 7:32 am

Hello,

Thanks for your feedback.
Glad to hear that the temporary version of Spire.Office can work for you. If the official version is released, we will inform you immediately.

Sincerey,
Brian
E-iceblue support team
User avatar

Brian.Li
 
Posts: 1271
Joined: Mon Oct 19, 2020 3:04 am

Return to Spire.PDF