No description
Find a file
ober d38de7d36d
Some checks failed
required-ci / required (push) Failing after 3m43s
Merge pull request #4
2026-09-12 21:22:22 -04:00
.forgejo Use FreeBSD Forgejo CI runner 2026-08-03 14:46:49 -06:00
docs Initial scaffold 2026-06-29 15:47:56 -06:00
.gitignore Initial scaffold 2026-06-29 15:47:56 -06:00
.gitsafeignore Set up Forgejo CI/CD policy 2026-08-03 12:50:50 -06:00
AGENTS.md docs(agents): add checkout hygiene policy (work dirs under ~/work, cleanup when done) 2026-09-12 19:20:57 -06:00
LICENSE Switch to MIT license 2026-07-21 13:42:17 -06:00
README.md Initial scaffold 2026-06-29 15:47:56 -06:00
VERSION Document local mine repository authority 2026-08-03 18:15:40 -06:00

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.