bool OEWriteImage(const std::string &filename, const OEImage &image)Writes the 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 OEImage object which is being written into the given file.
See also
OEIsRegisteredImageFile
function
bool OEWriteImage(OEPlatform::oeostream &os, const std::string &ext, const OEImage &image)Writes the image into the given output stream.
- os
The stream into which the image is written.
- ext
The extension which determine the type of the image.
- image
The OEImage object which is being written into the stream.
See also
OEIsRegisteredImageFile
function