| 1 |
# Examples |
| 2 |
|
| 3 |
These are examples that demonstrate how to use `exrs`. |
| 4 |
|
| 5 |
Some of these examples read image files |
| 6 |
that can be generated by running a different example beforehand. |
| 7 |
The examples are named such that running all examples alphabetically |
| 8 |
will generate any image before it is used. |
| 9 |
|
| 10 |
Only the cropping examples use images from the source repository's test folder. |
| 11 |
|
| 12 |
## Things you can find in the examples: |
| 13 |
- Read image data into a custom data structure, without loosing any meta information: |
| 14 |
`2_rgba_adjust_exposure` |
| 15 |
- Access all pixel information in a file, fully dynamic: |
| 16 |
`6_extract_mip_map_pngs` |
| 17 |
|
| 18 |
|
| 19 |
## Older Versions |
| 20 |
The examples for any specific `exrs` version can be found on the `docs.rs` page: |
| 21 |
- [docs.rs/crate/exr/1.74.0/source/examples/](https://docs.rs/crate/exr/1.74.0/source/examples/) |
| 22 |
- [docs.rs/crate/exr/1.73.0/source/examples/](https://docs.rs/crate/exr/1.73.0/source/examples/) |
| 23 |
- [docs.rs/crate/exr/1.72.0/source/examples/](https://docs.rs/crate/exr/1.7.0/source/examples/) |
| 24 |
- [docs.rs/crate/exr/1.71.0/source/examples/](https://docs.rs/crate/exr/1.7.0/source/examples/) |
| 25 |
- ... |