# Assets Directory
This directory contains sample images and videos for iris CV library examples.
## Directory Structure
```
assets/
├── images/ # Sample images generated by examples
│ ├── gradient.png # 640x480 RGB color gradient
│ ├── checkerboard.png # 640x480 checkerboard pattern
│ ├── test_pattern.png # 640x480 test pattern (circles, lines, crosshairs)
│ ├── gray_gradient.png # 320x240 radial grayscale gradient
│ └── color_bars.png # 640x480 SMPTE-style color bars
├── videos/ # Sample videos (reserved for future use)
└── README.md
```
## Generating Assets
The sample images are generated programmatically using the iris library. Run the
`generate_assets` example to create all assets:
```bash
cargo run --example generate_assets --features wgpu
```
All images are generated using the iris `Image` type with the Wgpu backend.
No external downloads are required.
## Usage in Examples
Other examples reference these assets as input images. If you modify or delete
the assets, re-run the `generate_assets` example to regenerate them.
## Asset Properties
| `gradient.png` | 640x480| 3 (RGB) | Horizontal/vertical color gradient |
| `checkerboard.png` | 640x480| 3 (RGB) | Black/white checkerboard (64px tiles) |
| `test_pattern.png` | 640x480| 3 (RGB) | Concentric circles, crosshairs, lines |
| `gray_gradient.png`| 320x240| 1 (Gray) | Radial gradient from center |
| `color_bars.png` | 640x480| 3 (RGB) | 7 SMPTE color bars |