Split a Presentation Saved to Storage

Introduction

The article shows you how to split a PowerPoint presentation saved in storage.

API Information

API Type Description Resource
/slides/{name}/split POST Splits a presentation file and stores the output parts on a storage. Split

Request Parameters

Name Type Location Required Description
name string path true The file name of the presentation in a storage.
options object body false The format-specific options for the output files.
format string query false The format for output files. See the table for available formats. The default value is jpeg.
width integer query false The width of each slide in the output files. Does not affect the HTML format.
height integer query false The height of each slide in the output files. Does not affect the HTML format.
from integer query false The 1-based starting slide number for the splitting. If it is not specified, the splitting starts from the first slide of the presentation.
to integer query false The 1-based last slide number for the splitting. If it is not specified, the splitting ends at the last slide of the presentation.
destFolder string query false The storage folder where the output files will be uploaded. If it is not specified, the files will be uploaded to the folder where the presentation is saved.
password string header false The password to open the presentation.
folder string query false The folder path where the presentation is saved.
storage string query false The name of the storage where the presentation is saved. If it is not specified, the default storage is assumed.
fontsFolder string query false The path to the storage folder containing custom fonts that can be used in the presentation.

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

Splitting All Slides

Split MyFolder/MyPresentation.pptx file from a default storage into a set of JPEG images and save them to the same folder.

cURL Solution

SDK Solutions

Splitting a Range of Slides

Split the 2nd and 3rd slides from MyFolder/MyPresentation.pptx file, convert the slides to PNG format, and store them to MyImages folder.

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.