Replace an Image


Aspose.Slides Cloud API provides methods to replace an image in a PowerPoint Presentation. Both storage presentations and presentations uploded as a part of the request are supported.

API Information

API Type Description Swagger Link
/slides/{name}/images/{imageIndex}/replace PUT Replace image in a PowerPoint Presentation ReplaceImage
/slides/images/{imageIndex}/replace POST Replace image in a PowerPoint Presentation (without using storage) ReplaceImageOnline

cURL Example

In the example below we assume that the target paresention is stored in a storage. The example shows how to replace an image with index 1.


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