OEWriteMultiPageImageΒΆ

bool OEWriteMultiPageImage(const std::string &filename,
                           const OEMultiPageImageFile &image)

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.
bool OEWriteMultiPageImage(OEPlatform::oeostream &os,
                           const std::string &extension,
                           const OEMultiPageImageFile &image)

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.