Writing to a buffer or any other object that is not a file
in the file system requires writing C++ code.  When an image
file is opened, you must pass a custom Ostream object (derived
from class Imf::Ostream) to the OutputFile or RgbaOutputFile
constructor.  User-supplied Ostream objects are not currently
supported by the C interface, but you could extend the C
interface yourself it you need this function.

Vincent Olivier wrote:
Hi,

Just wondering if from the C interface (ImfCRgbaFile) there was a way to write 
the file content to a buffer or a stream instead of directly to the file system?

Thanks,

Vincent
_______________________________________________
Openexr-devel mailing list
Openexr-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/openexr-devel


_______________________________________________
Openexr-devel mailing list
Openexr-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/openexr-devel

Reply via email to