Hi guys, I am trying to implement Imf::Ostream. Unfortunately, the EXR manual only shows how to implement Imf::Istream. That being said, please consider this pseudocode:
const char filename[] = "file.exr" // Case 1: Imf::OutputFile( filename ) // Case 2: MyOStream ostr( mySTDostream , filename ) Imf::OutputFile( ostr ) In both cases, files of almost equal sizes are successfully written. All EXR viewers can open a file generated by #1. All EXR viewers crash when opening a file generated by #2. Please note that I am constructing MyOStream with an std::ofstream, instead of std::ostream. Does anyone have an example of a working implementation of Imf::Ostream? Thanks for reading :) - Kora
_______________________________________________ Openexr-devel mailing list Openexr-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/openexr-devel