~ober/jerboa-image
Imported from ~/mine/jerboa-image
about
# jerboa-image
`jerboa-image` defines the image data contract used by Jerboa apps and Rust/WASM
helpers.
The first consumer is the SFB SSD reviewer. The goal is to avoid OpenCV and
NumPy while keeping image operations deterministic and easy to test.
## Image Contract
```json
{
"width": 1224,
"height": 1584,
"channels": 4,
"format": "rgba8",
"source": "browser-canvas"
}
```
Native helpers may also use `rgb8`; browser/WASM helpers should accept `rgba8`
directly from Canvas `ImageData`.
## Responsibilities
- RGB/RGBA pixel access.
- RGB to HSV conversion.
- Cropping and coordinate transforms.
- Optional PNG/JPEG decode for native test tools.
- Optional PNG encode for cached browser assets.
## Dependency Rule
The Android default path must not depend on OpenCV, Qt, MuPDF, Poppler, or
Python. Rust crates are acceptable when they can build as static CLI tools or
WASM modules and do not pull GUI stacks.
recent commits
- Document local mine repository authority 7eaf549 Jaime Fournier
- Use FreeBSD Forgejo CI runner 2838a2a user
- Set up Forgejo CI/CD policy d82be35 Jaime Fournier
- docs: remove jerboa-emacs restriction daf5262 Jaime Fournier
- update AGENTS.md ecce196 Jaime Fournier
- Switch to MIT license f1c95ea Jaime Fournier
- Initial scaffold 33bf9ee Jaime Fournier