Aspose Version: 20.1
Incorrect value of height results in the cropped image.
var paraRect = curPara.GetRect();
Rectangle finalRect = new Rectangle();
finalRect.X = (int)(curAutoShape.X);
finalRect.Y = (int)(curAutoShape.Y + paraRect.Y);
finalRect.Width = Math.Max(1, (int)(paraRect.Width));
finalRect.Height = Math.Max(1, (int)(paraRect.Height));
PFA pptx for it.
sample (2).zip (1.2 MB)
sample (2).zip (1.17 MB)
Thank you for the issue description. I reproduced the error and received the incorrect result. I’ve logged the issue in our tracking system with ID SLIDESNET-42550. Our development team will investigate this case. You will be notified when it is fixed.
Meanwhile, do you have an ETA and a suggested workaround to temporarily resolve this issue ?
I requsted some ETA for this issue from our development team. I will let you know as soon as possible. A similar issue has been resolved in Aspose.Slides 21.5. Please check it.
The issues you have found earlier (filed as SLIDESNET-42550) have been fixed in this update.