process method

process #

Converts the input presentation to a set of PNG 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.png” files, where N is a slide number.

@staticmethod
def process(input_file_name):
    ...
Parameter Type Description
input_file_name str The name of the input presentation file.

Examples #

slidize.PresentationToPngConverter.process("pres.pptx")

Exceptions #

Exception Description
RuntimeError(Proxy error(ArgumentException))

process #

Converts the input presentation to a set of PNG format images. If the output file name is given as “myPath/myFilename.png”, the result will be saved as a set of “myPath/myFilename_N.png” files, where N is a slide number.

@staticmethod
def process(input_file_name, output_file_name):
    ...
Parameter Type Description
input_file_name str The name of the input presentation file.
output_file_name str The output file name.

Examples #

slidize.PresentationToPngConverter.process("pres.pptx", "pres.png")

Exceptions #

Exception Description
RuntimeError(Proxy error(ArgumentException))

process #

Converts the input presentation to a set of PNG format images with custom options. If the output file name is given as “myPath/myFilename.png”, the result will be saved as a set of “myPath/myFilename_N.png” files, where N is a slide number.

@staticmethod
def process(input_file_name, output_file_name, options):
    ...
Parameter Type Description
input_file_name str The name of the input presentation file.
output_file_name str The output file name.
options ImageConverterOptions Image converter options.

Examples #

options = slidize.ImageConverterOptions()
options.image_scale = 2
slidize.PresentationToPngConverter.process("pres.pptx", "pres.png", options)

Exceptions #

Exception Description
RuntimeError(Proxy error(ArgumentException))

See Also #