We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Picture rotates during conversion to PDF

Hi,

We have faced with incorrect behavior of conversion images to PDF – the original image is implicitly rotated during conversion.

Steps to reproduce :

Convert the original image to PDF using Aspose.Word library with no custom configuration

Actual result

Image is rotated on 90 degrees in the resulted PDF document

Expected result

The resulted document has original image orientation

Content :

  • input.jpg – image example
  • result.pdf – resulted PDF file
  • Program.cs – example of the code

content.zip (4.2 MB)

Aspose libraries that we use:

Aspose.Word v. 21.8.0.0

But with the newest ones it is reproducible anyway:

Aspose.Word v. 21.10.0.0

Notes:

Could you please advise us with the current behavior?

Best regards,

Alexander

@uaprogrammer

We have tested the scenario using the latest version of Aspose.Words for .NET 21.10 and have not found the shared issue. So, please make sure that you are using the latest version of Aspose.Words for .NET. We have attached the output PDF with this post for your kind reference.
21.10.pdf (1.3 MB)