You can use DeletePictureCroppedAreas method to delete cropped areas from a picture frame.
That can help you reduce the size of the presentation. Keep in mind, however, that the method converts the picture to PNG format, which in some cases can increase the image size.
The method requires presentation name, slide and shape index. The shape must be a picture frame, or you get an exception.
Below is an example of using DeletePictureCroppedAreas method.
cURL Example
SDKs
Using an SDK (API client) is the quickest way for a developer to speed up the development. An SDK takes care of a lot of low-level details of making requests and handling responses and lets you focus on writing code specific to your particular project. Check out our GitHub repository for a complete list of Aspose.Slides Cloud SDKs along with working examples, to get you started in no time. Please check Available SDKs article to learn how to add an SDK to your project.
SDK Examples
SDK Source
The Aspose Cloud SDK’s can be downloaded from the following page: Available SDK’s