process
#
Converts the input presentation to a set of JPEG 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.jpeg” 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.PresentationToJpegConverter.process("pres.pptx")
Exceptions
#
Exception |
Description |
RuntimeError(Proxy error(ArgumentException)) |
|
process
#
Converts the input presentation to a set of JPEG format images.
If the output file name is given as “myPath/myFilename.jpeg”,
the result will be saved as a set of “myPath/myFilename_N.jpeg” 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.PresentationToJpegConverter.process("pres.pptx", "pres.jpeg")
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.jpeg”,
the result will be saved as a set of “myPath/myFilename_N.jpeg” 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.PresentationToJpegConverter.process("pres.pptx", "pres.jpeg", options)
Exceptions
#
Exception |
Description |
RuntimeError(Proxy error(ArgumentException)) |
|
See Also
#