Extract Images
Introduction
The following methods make it easy to retrieve images in the default format from a PowerPoint document.
DownloadImageDefaultFormat
API Information
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
DownloadImageDefaultFormatOnline
API Information
API | Type | Description | Resource |
---|---|---|---|
/slides/images/{index} | POST | Retrieves an image from a presentation saved to a local file. | DownloadImageDefaultFormatOnline |
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. |
DownloadImagesDefaultFormat
API Information
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.
DownloadImagesDefaultFormatOnline
API Information
API | Type | Description | Resource |
---|---|---|---|
/slides/images/download | POST | Retrieves images from a presentation saved to a local file. | DownloadImagesDefaultFormatOnline |
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.