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 Sep 01, 2023 1:37 am

When I try to add a small signature image it gets compressed vertically.
Image size 120 x 28 looks fine, but 60 x 14 gets crushed.

Kevin.Cox
 
Posts: 8
Joined: Mon Aug 28, 2023 6:17 am

Fri Sep 01, 2023 2:33 am

Hi,

Thanks for your feedback.
After testing, I did reproduce the issue you mentioned, the image gets compressed vertically, as shown in the following screenshot.
result.png

I have logged this issue into our issue tracking system with the ticket number SPIREPDF-6263, once the issue is fixed, I will notify you immediately. We apologize for any inconvenience caused.

Best regards,
Triste
E-iceblue support team
User avatar

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

Tue Sep 26, 2023 9:47 am

Hi,

Thanks for your patience.
Upon further investigation, our developers have determined that the signature image is displayed within a control, which may result in visual differences compared to directly adding an image to the PDF page. The variations in display are determined by different interpretations and processing methods employed by various PDF readers, including but not limited to scaling, cropping, or maintaining the original aspect ratio. Therefore, the compression effect observed on the signature image is not caused by our product's handling but rather due to the inherent nature of how the image is displayed.

If you have any other questions or concerns, just feel free to contact us.

Best regards,
Triste
E-iceblue support team
User avatar

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

Return to Spire.PDF