Table of Contents

PresentationToTiffConverter class

Plugin for converting the PowerPoint 97-2003 and Microsoft Office Open XML presentations into a set of TIFF images.

process(inputPath: string): Promise

Converts the input presentation to a set of TIFF format images and saves them in the folder of the input presentation. If the input file name is given as "myPath/myFilename.pptx", the result will be saved as a set of "myPath/myFilename_N.tiff" files, where N is a slide number.

Parameters:

Name Type Description
inputPath string The name of the input presentation file.

Example

await slidize.PresentationToTiffConverter.process("presentation.pptx");

process(inputPath: string, outputPath: string): Promise

Converts the input presentation to a set of TIFF images. If the output file name is given as "myPath/myFilename.tiff", the result will be saved as a set of "myPath/myFilename_N.tiff" files, where N is a slide number.

Parameters:

Name Type Description
inputPath string The name of the input presentation file.
outputPath string The output file name.

Example

await slidize.PresentationToTiffConverter.process("presentation.pptx", "image.tiff");

process(inputPath: string, outputPath: string, options: TiffConverterOptions): Promise

Converts the input presentation to TIFF format with custom options. If the output file name is given as "myPath/myFilename.tiff" and TiffConverterOptions.MultiPage is false, the result will be saved as a set of "myPath/myFilename_N.tiff" files, where N is a slide number. Otherwise, if TiffConverterOptions.MultiPage is true, the result will be a multi-page "myPath/myFilename.tiff" document.

Parameters:

Name Type Description
inputPath string The name of the input presentation file.
outputPath string The output file name.
options TiffConverterOptions TIFF converter options.

Example

const options = new slidize.TiffConverterOptions();
options.setMultiPage(true);
await slidize.PresentationToTiffConverter.process("presentation.pptx", "image.tiff", options);