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