ImageFileWriter::Write

ImageFileWriter::Write
virtual bool Write(File* file, const ImageData& imageData, const ImageWriteArgs* args = 0) const = 0;
Description

Write writes image content to file, accessing necessary ImageData either through Image::Map or by decoding to a temporary buffer.

Parameters
Parameters 
Description 
File* file 
Pointer to the file into which the image data will be written. 
const ImageData& imageData 
The image data that will be written into the file. 
const ImageWriteArgs* args = 0 
Pointer to the image write arguments. 
Return Value

A Boolean value of true if the image contents are written and false otherwise.