Extract Images
Introduction
The following methods make it easy to retrieve images in the default format from a PowerPoint document.
| API |
Type |
Description |
Resource |
| /slides/{name}/images/{index} |
GET |
Retrieves an image from a presentation saved to storage. |
DownloadImageDefaultFormat |
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. |
| 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
Get the second image from the document MyFolder/MyPresentation.pptx saved to the default storage.
cURL Solution
SDK Solutions
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. |
| password |
string |
header |
false |
The password to open the presentation. |
| API |
Type |
Description |
Resource |
| /slides/{name}/images/download |
POST |
Retrieves images from a presentation saved to storage. |
DownloadImagesDefaultFormat |
Request Parameters
| Name |
Type |
Location |
Required |
Description |
| name |
string |
path |
true |
The name of a presentation file. |
| 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.
Request Parameters
| Name |
Type |
Location |
Required |
Description |
| document |
file |
formData |
true |
The presentation file. |
| password |
string |
header |
false |
The password to open the presentation. |
SDKs
Check Available SDKs to learn how to add an SDK to your project.