No description
| docs | ||
| .gitignore | ||
| AGENTS.md | ||
| LICENSE | ||
| README.md | ||
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
{
"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.