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.
Also, forgot to say, there is no shadow, either.
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 v126.96.36.199. 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
Workbook workbook = new Workbook(“rotatedShape.xlsx”);
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 v188.8.131.52 and let us know your feedback.