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.

Fri Jul 14, 2023 6:10 am

If this attached file is converted with specific conditions specified, an blank file will be output.
this method we use is below.

the version we use:
Spire.PDF ver 9.6

Method:
var image = PdfDocument.SaveAsImage(0, Spire.Pdf.Graphics.PdfImageType.Bitmap, 600, 600);
image.Save(filename);

The case of converting correctly:
200,300,400,700,800,900,1000,1100 and 1200 dpi

The case of converting blank file:
500,600dpi

We would like to convert correctly files (not blank), what should I do to convert the file to get correct it?
Under what case would it turn blank file?
Last edited by ryuta_harada on Fri Jul 21, 2023 10:04 am, edited 1 time in total.

ryuta_harada
 
Posts: 3
Joined: Mon Jul 26, 2021 6:41 am

Fri Jul 14, 2023 7:16 am

Hi,

Thanks for your feedback.
To investigate this matter further, I have conducted a test using a console application based on the information you provided. However, I was unable to reproduce the problem as the results were consistently correct. Please refer to the attached image showing the test results.

In order to assist you more effectively, we kindly request that you provide us with additional information regarding your project( such as Console App .NET 4.8 ). In addition, you can upgrade to the latest version (Spire.PDF_9.7.0). Any other details or steps to reproduce the issue would be greatly appreciated. Thanks for your assistance.

Best regards,
Triste
E-iceblue support team
User avatar

Triste.Dai
 
Posts: 1000
Joined: Tue Nov 15, 2022 3:59 am

Fri Jul 21, 2023 10:15 am

Spire.PDF was released new version, so we are going to try to update 9.9 to 9.7.
I understand the result, so if possible, could you please remove the pasted image of the receipt?

ryuta_harada
 
Posts: 3
Joined: Mon Jul 26, 2021 6:41 am

Mon Jul 24, 2023 1:42 am

Hello,

Thank you for your feedback.
We apologize for any inconvenience caused. We have removed the image mentioned above.
If you encounter other issues related to our products in the future, please feel free to contact us.
Wish you all the best!

Sincerely,
Annika
E-iceblue support team
User avatar

Annika.Zhou
 
Posts: 1657
Joined: Wed Apr 07, 2021 2:50 am

Return to Spire.PDF

cron