OEWriteImage

The overloaded versions of the OEWriteImage function

Link

Description

OEWriteImage(filename, image)

writes image into file

OEWriteImage(stream, ext, image)

writes image into output stream

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

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