Module magic_number
The first four bytes of each exr file. Used to abort reading non-exr files.
Functions
- is_exr Consumes four bytes from the reader and returns whether the file may be an exr file.
-
validate_exr
Validate this image. If it is an exr file, return
Ok(()). - write Without validation, write this instance to the byte stream.
Constants
- BYTES The first four bytes of each exr file.