to_jpeg method
to_jpeg
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 to_jpeg(pres, output_file_name):
...
| Parameter | Type | Description |
|---|
| pres | Presentation | The input presentation. |
| output_file_name | str | The output file name. |
Exceptions
| Exception | Description |
|---|
| RuntimeError(Proxy error(ArgumentException)) | |
to_jpeg
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 to_jpeg(pres, output_file_name, image_size):
...
| Parameter | Type | Description |
|---|
| pres | Presentation | The input presentation |
| output_file_name | str | The output file name. |
| image_size | aspose.pydrawing.Size | The size of each generated image. |
Exceptions
| Exception | Description |
|---|
| RuntimeError(Proxy error(ArgumentException)) | |
to_jpeg
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 to_jpeg(pres, output_file_name, scale, options):
...
| Parameter | Type | Description |
|---|
| pres | Presentation | The input presentation. |
| output_file_name | str | The output file name. |
| scale | float | The scaling factor applied to the output images relative to the original slide size. |
| options | IRenderingOptions | The rendering options. |
Exceptions
| Exception | Description |
|---|
| RuntimeError(Proxy error(ArgumentException)) | |
See Also