denyhosts/clamav/libclamav_rust/.cargo/vendor/exr/examples/README.md

28 lines
1.4 KiB
Markdown
Raw Normal View History

2023-01-14 18:28:39 +08:00
# Examples
These are examples that demonstrate how to use `exrs`.
Some of these examples read image files
that can be generated by running a different example beforehand.
The examples are named such that running all examples alphabetically
will generate any image before it is used.
Only the cropping examples use images from the source repository's test folder.
## Things you can find in the examples:
- Read image data into a custom data structure, without loosing any meta information:
`2_rgba_adjust_exposure`
- Access all pixel information in a file, fully dynamic:
`6_extract_mip_map_pngs`
## Older Versions
The examples for any specific `exrs` version can be found on the `docs.rs` page:
- [docs.rs/crate/exr/1.5.2/source/examples/](https://docs.rs/crate/exr/1.5.2/source/examples/)
- [docs.rs/crate/exr/1.5.1/source/examples/](https://docs.rs/crate/exr/1.5.1/source/examples/)
- [docs.rs/crate/exr/1.5.0/source/examples/](https://docs.rs/crate/exr/1.5.0/source/examples/)
- [docs.rs/crate/exr/1.4.2/source/examples/](https://docs.rs/crate/exr/1.4.2/source/examples/)
- [docs.rs/crate/exr/1.4.1/source/examples/](https://docs.rs/crate/exr/1.4.1/source/examples/)
- [docs.rs/crate/exr/1.4.0/source/examples/](https://docs.rs/crate/exr/1.4.0/source/examples/)
- [docs.rs/crate/exr/1.3.0/source/examples/](https://docs.rs/crate/exr/1.3.0/source/examples/)
- ...