process {#str-str}
Converts the input presentation using the output file extension to determine the required convert format.
@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 name of the output presentation file.
Examples
slidize.PresentationConverter.process("pres.pptx", "pres.ppt")
Exceptions
Exception
Description
RuntimeError(Proxy error(ArgumentException))
Converts the input presentation to a file with the specified format.
@staticmethod
def process(input_file_name, output_file_name, convert_format):
...
Parameter
Type
Description
input_file_name
str
The name of the input presentation file.
output_file_name
str
The name of the output presentation file.
convert_format
ConvertFormat
The format to which the presentation should be converted.
Examples
slidize.PresentationConverter.process("pres.pptx", "pres.ppt", slidize.ConvertFormat.PPT)
Exceptions
Exception
Description
RuntimeError(Proxy error(ArgumentException))
Converts the input presentation to the specified format.
@staticmethod
def process(input_stream, output_stream, convert_format):
...
Parameter
Type
Description
input_stream
io.RawIOBase
The input presentation stream.
output_stream
io.RawIOBase
The output stream.
convert_format
ConvertFormat
The format to which the presentation should be converted.
Examples
with open("pres.pptx", "rb") as input_stream, io.BytesIO() as output_stream:
slidize.PresentationConverter.process(input_stream, output_stream, slidize.ConvertFormat.PPT)
Exceptions
Exception
Description
RuntimeError(Proxy error(ArgumentException))
/
See Also