denyhosts/clamav/libclamav_rust/.cargo/vendor/exr/examples
2023-01-14 18:28:39 +08:00
..
0a_write_rgba.rs 更新libclamav库1.0.0版本 2023-01-14 18:28:39 +08:00
0b_read_meta.rs 更新libclamav库1.0.0版本 2023-01-14 18:28:39 +08:00
0c_read_rgba.rs 更新libclamav库1.0.0版本 2023-01-14 18:28:39 +08:00
1a_write_rgba_with_metadata.rs 更新libclamav库1.0.0版本 2023-01-14 18:28:39 +08:00
1b_convert_exr_to_png.rs 更新libclamav库1.0.0版本 2023-01-14 18:28:39 +08:00
2_rgba_adjust_exposure.rs 更新libclamav库1.0.0版本 2023-01-14 18:28:39 +08:00
3a_write_dynamic_channels_with_metadata.rs 更新libclamav库1.0.0版本 2023-01-14 18:28:39 +08:00
3b_read_all_channels_with_metadata.rs 更新libclamav库1.0.0版本 2023-01-14 18:28:39 +08:00
4a_write_custom_fixed_channels.rs 更新libclamav库1.0.0版本 2023-01-14 18:28:39 +08:00
4b_read_custom_fixed_channels.rs 更新libclamav库1.0.0版本 2023-01-14 18:28:39 +08:00
5a_write_multiple_layers.rs 更新libclamav库1.0.0版本 2023-01-14 18:28:39 +08:00
5b_extract_exr_layers_as_pngs.rs 更新libclamav库1.0.0版本 2023-01-14 18:28:39 +08:00
5c_write_mip_maps.rs 更新libclamav库1.0.0版本 2023-01-14 18:28:39 +08:00
5d_write_legacy_layers.rs 更新libclamav库1.0.0版本 2023-01-14 18:28:39 +08:00
6_extract_mip_map_pngs.rs 更新libclamav库1.0.0版本 2023-01-14 18:28:39 +08:00
7_crop_alpha_any_image.rs 更新libclamav库1.0.0版本 2023-01-14 18:28:39 +08:00
7_crop_alpha_rgba.rs 更新libclamav库1.0.0版本 2023-01-14 18:28:39 +08:00
7_write_raw_blocks.rs 更新libclamav库1.0.0版本 2023-01-14 18:28:39 +08:00
8_read_raw_blocks.rs 更新libclamav库1.0.0版本 2023-01-14 18:28:39 +08:00
README.md 更新libclamav库1.0.0版本 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: