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

Free Support Forum - aspose.com

Rotated shapes rendering bug

When rendering the shapes from the attached file (using Shape.toImage()), the image itself appears rotated, but the size of the image is wrong, so it gets cut.


It seems you’re using the non-rotated size to create the image.

Also, forgot to say, there is no shadow, either.

Hi,

Thanks for your posting and using Aspose.Cells for Java.

We were able to observe these issues with the latest version: Aspose.Cells
for Java v8.0.2.1
. The image is rotated but it is cut and there is no shadow rendered of it.

We have logged these issues in our database for investigation. We will look into them and fix them. Once, the issues are resolved or we have some other update for you, we will let you know asap.

These issues have been logged as

  • CELLSJAVA-40831 - Image gets cut when shape is rendered
  • CELLSJAVA-40832 - Shadow of the image is not rendered

Java

Workbook workbook = new Workbook(“rotatedShape.xlsx”);

workbook.save(".out.pdf");

Hi,

Thanks for using Aspose.Cells for Java.

We have fixed this issue. (CELLSJAVA-40831 - Image gets cut when shape is rendered)

Please download and try this fix: Aspose.Cells for Java v8.2.1.1 and let us know your feedback.

The issues you have found earlier (filed as CELLSJAVA-40831) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.