Extract Images in a Specified Format

Introduction

The following methods make it easy to retrieve images in a specified format from a PowerPoint document.

DownloadImage

API Information

API Type Description Resource
/slides/{name}/images/{index}/{format} GET Retrieves an image in a specified format from a presentation saved to storage. DownloadImage

Request Parameters

Name Type Location Required Description
name string path true The name of a presentation file.
index integer path true The 1-based index of the image to be retrieved.
format string path true The format of the image.
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

Retrieve the second image in GIF format from the document MyFolder/MyPresentation.pptx saved to the default storage.

cURL Solution

SDK Solutions

DownloadImageOnline

API Information

API Type Description Resource
/slides/images/{index}/{format} POST Retrieves an image in a specified format from a presentation saved to a local file. DownloadImageOnline

Request Parameters

Name Type Location Required Description
document file formData true The presentation file.
index integer path true The 1-based index of the image to be retrieved.
format string path true The format of the image.
password string header false The password to open the presentation.

DownloadImages

API Information

API Type Description Resource
/slides/{name}/images/download/{format} POST Retrieves images in a specified format from a presentation saved to storage. DownloadImages

Request Parameters

Name Type Location Required Description
name string path true The name of a presentation file.
format string path true The format of the image.
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.

DownloadImagesOnline

API Information

API Type Description Resource
/slides/images/download/{format} POST Retrieves images in a specified format from a presentation saved to a local file. DownloadImagesOnline

Request Parameters

Name Type Location Required Description
document file formData true The presentation file.
format string path true The format of the image.
password string header false The password to open the presentation.

SDKs

Check Available SDKs to learn how to add an SDK to your project.