OEWriteMultiPageImage

OEWriteMultiPageImage(filename: str, image: OEMultiPageImageFile) -> bool

Writes the multi-page image into a file with the given name.

filename

The name of the file into which the image is written. The extension of the filename determine the type of the image.

image

The OEMultiPageImageFile object which is being written into the given file.

OEWriteMultiPageImage(os: oeostream, extension: str,
                      image: OEMultiPageImageFile) -> bool

Writes the multi-page image into the given output stream.

os

The stream into which the multi-page image is written.

ext

The extension which determine the type of the image.

image

The OEMultiPageImageFile object which is being written into the stream.