Image proportions not preserved when converting DOCX to PDF

When the attached LogoTest.docx file is converted to PDF, the logo image is stretched vertically.
Is there any way to preserve the image proportions, without changing the original document or image?

Original document: LogoTest.docx (34.5 KB)

Converted document: LogoTest.pdf (72.5 KB)

The file was converted using:

Document document = new Document("LogoTest.docx");
document.save("LogoTest.pdf");

@unb
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): WORDSNET-25532

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

The issues you have found earlier (filed as WORDSNET-25532) have been fixed in this Aspose.Words for Java 23.7 update.

Thanks. I’ve verified the fix.

1 Like