Get Image Information from a Slide

Introduction

The following API method allows you to easily read information about images placed on a slide in a PowerPoint document. You can find out the following image properties: width, height, type, etc. You can optionally limit the output to images related to a specific shape, specifying its index or alternative text.

GetSlideImages

API Information

API Type Description Resource
/slides/{name}/slides/{slideIndex}/images GET Returns information about the images placed on a slide. GetSlideImages

Request Parameters

Name Type Location Required Description
name string path true The name of a presentation file.
slideIndex integer path true The 1-based index of the slide.
shapeIndex integer query false The 1-based index of the shape; if specified, returns only images related to that shape.
shapeAltText string query false The alternative text of the shape; if specified, returns only images related to that shape. The property value should match shape alternative text ot alternative text title.
password string header false The password to open the presentation.
folder string query false The path to the folder containing the presentation.
storage string query false The name of the storage contaning the folder.

In case of Amazon S3 storage folder path starts with Amazon S3 bucket name.

Examples

Read information about the images placed on the first slide in MyFolder/MyPresentation.pptx file saved to the default storage.

cURL Solution

SDK Solutions

SDKs

Using an SDK (API client) is the quickest way for a developer to speed up 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.