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.

Mon Feb 05, 2024 1:29 pm

We currently have a problem, we are using the Spire.Officefor.NETStandard + SkiaSharp.NativeAssets.Linux.NoDependencies library.
This is because the Docker image is on Linux. The problem is that when we save the first page as image and we need to put a stamp, if there is previously another stamp, the quality of the previous stamp image looks very low.

Here is my code.

Code: Select all
Stream stream_img = pdfDoc.SaveAsImage(0);


We converted directly to stream because we used an image in Docker Linux and left out Drawing

Do you have any suggestions on how to improve the quality of an image that already has a previous stamp?


Thank you very much in advance

Kind regards
Rod

rodcas_1
 
Posts: 2
Joined: Tue Jan 30, 2024 12:15 pm

Tue Feb 06, 2024 3:25 am

Hello,

Thank you for your inquiry.
In order to help us investigate your problem quickly and efficiently, please provide us with sample PDF documents that reproduce your problem and complete test code for our reference. You could attach them here or send them to us via email ([email protected]). Thanks in advance.

Sincerely,
Annika
E-iceblue support team
User avatar

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

Return to Spire.PDF