Class InputFile has an isComplete() method that allows you to check
if any tiles or scan lines are missing. ImfInputFile.h says:
isComplete() returns true if all pixels in the data window are
present in the input file, or false if any pixels are missing.
(Another program may still be busy writing the file, or file
writing may have been aborted prematurely.)
I guess the function should be mentioned in the documentation...
Florian
David Larsson wrote:
Hi,
I wonder if there is a fast way to figure out if an exr-file is missing
any tiles, preferably not involving reading all tiles.
/David Larsson
------------------------------------------------------------------------
_______________________________________________
Openexr-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/openexr-devel
_______________________________________________
Openexr-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/openexr-devel