Standalone bounded image encoding package for sparse-stroke figures and a narrower hole-bearing route
Project description
ZPE-Image
What This Is
Deterministic sparse-stroke image encoder. Geometry-layer encoding for glyphs, flow graphs, mazes, and structural skeletons; natural-image coverage stays out of scope.
Two routes ship: a primary sparse-stroke route and a narrower hole-bearing bundle route for exactly three hole-bearing forms. Both are CI-falsified.
Strongest intrinsic result (CI-anchored, no external baseline): 5.75× byte reduction on the five accepted sparse figures versus the internal quadtree-enhanced fallback, with 100% accept and reject rates and perturbation floors clearing documented thresholds.
Codec Mechanics
| Field | Value |
|---|---|
| Architecture | IMAGE_STREAM |
| Encoding | IMAGE_SPARSE_GEOMETRY_V1 |
| Mechanics Asset | .github/assets/readme/lane-mechanics/IMAGE.gif |
Key Metrics
| Metric | Value | Baseline |
|---|---|---|
| SPARSE_ACCEPTS | 5/5 | bounded pack |
| REJECT_RATE | 100% | 7 retained negatives |
| SPARSE_WORST_PERTURB_IOU | 0.632 | floor threshold ≥0.62 |
| SPARSE_WORST_PERTURB_SKELETON_F1 | 0.741 | floor threshold ≥0.74 |
Source:
proofs/artifacts/fresh_falsification_packet.json,validation/results/fresh_falsification_check.json
Repo Identity
| Field | Value |
|---|---|
| Identifier | ZPE-Image |
| Repository | https://github.com/Zer0pa/ZPE-Image |
| Section | encoding |
| Visibility | PUBLIC |
| Architecture | IMAGE_STREAM |
| Encoding | IMAGE_SPARSE_GEOMETRY_V1 |
| Commit SHA | c1ed7abaa560 |
| License | SAL-7.0 |
| Authority Source | proofs/artifacts/fresh_falsification_packet.json |
Readiness
| Field | Value |
|---|---|
| Verdict | STAGED |
| Checks | 6/6 |
| Anchors | 3 display anchors |
| Commit | c1ed7abaa560 |
| Authority | proofs/artifacts/fresh_falsification_packet.json |
Honest Blocker
We do not claim photo, texture, gradient, or broad natural-image coverage.; We do not claim that the narrower hole-bearing route covers the full sparse set.; We do not claim that bounded acceptance on this pack equals general image coverage.
What We Prove
- The primary sparse-stroke route accepts
glyph_a,fork_tree,loop_spine,maze_turns, andserpentine, and rejects all 7 retained mixed and natural-image negatives on the same verification pack. - Under four perturbation types (dilate_1, salt_pepper_1pct, shift_x1, shift_y1) the worst-case reconstruction IoU is 0.632 and worst-case skeleton F1 is 0.741, both clearing their documented thresholds (0.62 and 0.74 respectively).
- On accepted sparse figures the geometry-sparse-stroke encoder uses a mean of 1,362 bytes (20-bit packed) versus 7,839 bytes for the quadtree-enhanced fallback — a 5.75× byte reduction within this bounded scope.
- The narrower hole-bearing bundle route accepts exactly
glyph_a,loop_spine, andmaze_turns;fork_treeandserpentineare correctly outside that subset. Bundle projection IoU = 1.0 and skeleton F1 = 1.0 under all perturbations for all three accepted cases.
What We Don't Claim
- No photo, texture, gradient, or broad natural-image coverage.
- The hole-bearing route does not cover the full sparse set.
- Bounded acceptance on this pack does not equal general image coverage.
- No external codec comparison (JPEG/WebP/AVIF/JPEG-XL) — baselines are internal only.
Verification Status
| Code | Check | Verdict |
|---|---|---|
| V_01 | Primary sparse route accepts the five bounded sparse figures. | PASS |
| V_02 | Primary sparse route rejects the mixed and natural-image buckets. | PASS |
| V_03 | Sparse perturbation floors stay above documented thresholds (IoU ≥0.62, skeleton F1 ≥0.74). | PASS |
| V_04 | Secondary hole-bearing route accepts exactly 3/5 positives; rejects out-of-scope positives. | PASS |
| V_05 | Installed package imports and runs without sibling runtime dependencies. | PASS |
| V_06 | Root repo surface ships with Zer0pa Source-Available License v7.1. | PASS |
Proof Anchors
| Path | State |
|---|---|
proofs/manifests/CURRENT_VERIFICATION_PACKET.md |
VERIFIED |
proofs/artifacts/fresh_falsification_packet.json |
VERIFIED |
validation/results/fresh_falsification_check.json |
VERIFIED |
Repo Shape
| Field | Value |
|---|---|
| Proof Anchors | 3 display anchors |
| Modality Lanes | 1 |
| Architecture | IMAGE_STREAM |
| Encoding | IMAGE_SPARSE_GEOMETRY_V1 |
| Verification | 6/6 checks |
| Authority Source | proofs/artifacts/fresh_falsification_packet.json |
Extended Metrics
Rows retained from the previous expanded ## Key Metrics table. The public product page uses the first four rows only.
| Metric | Value | Baseline | Notes |
|---|---|---|---|
| SPARSE_MEAN_BYTES | 1,362 | 7,839 quadtree baseline | 5.75× byte reduction on accepted figures |
| BUNDLE_ACCEPTS | 3/3 | hole-bearing subset | projection IoU = 1.0 under all perturbations |
| BUNDLE_MEAN_BYTES | 3,655 | 8,459 quadtree baseline | 2.31× byte reduction on bundle route |
Quick Start
python3 -m venv .venv
. .venv/bin/activate
python3 -m pip install --upgrade pip
python3 -m pip install '.[dev]'
zpe-image-verify --output validation/results/fresh_falsification_check.local.json
pytest -q
Upcoming Workstreams
This section captures the active lane priorities — what the next agent or contributor picks up, and what investors should expect. Cadence is continuous, not milestoned.
- External comparator integration — Active Engineering. Add gzipped-SVG and PNG-of-render-at-fixed-quality comparators to the proof artifact; report both, let reviewer pick. Removes the no-market-reference-frame gap on the current 5.75× CR claim (currently measured only against an internal quadtree fallback).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file zpe_image-0.1.0.tar.gz.
File metadata
- Download URL: zpe_image-0.1.0.tar.gz
- Upload date:
- Size: 48.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5ce79535cf5b2d793146679c9b836e4275827f794f3a940b3c767bdd0ebc344c
|
|
| MD5 |
62976b742583857a2ebf36a67b4eda5f
|
|
| BLAKE2b-256 |
3c8d008128c90a737c1000eb73cf4a1860fdd00ff4893c9c86774299181b70b5
|
Provenance
The following attestation bundles were made for zpe_image-0.1.0.tar.gz:
Publisher:
publish.yml on Zer0pa/ZPE-Image
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
zpe_image-0.1.0.tar.gz -
Subject digest:
5ce79535cf5b2d793146679c9b836e4275827f794f3a940b3c767bdd0ebc344c - Sigstore transparency entry: 1436098853
- Sigstore integration time:
-
Permalink:
Zer0pa/ZPE-Image@07e68bad0df449e6d8d3bb4edf4dbb68985870ca -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/Zer0pa
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@07e68bad0df449e6d8d3bb4edf4dbb68985870ca -
Trigger Event:
push
-
Statement type:
File details
Details for the file zpe_image-0.1.0-py3-none-any.whl.
File metadata
- Download URL: zpe_image-0.1.0-py3-none-any.whl
- Upload date:
- Size: 50.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1072688edae05b4d6039bc05dc0a0cf23d7ac5a3b68e26e0c6bf7757dd992a7c
|
|
| MD5 |
5a46bd7918eb58c4e8ec5eca13cc6840
|
|
| BLAKE2b-256 |
041f767e562e6639ae3e562b73f83a94d516385784dbed7e2a73914aa1c6ade4
|
Provenance
The following attestation bundles were made for zpe_image-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on Zer0pa/ZPE-Image
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
zpe_image-0.1.0-py3-none-any.whl -
Subject digest:
1072688edae05b4d6039bc05dc0a0cf23d7ac5a3b68e26e0c6bf7757dd992a7c - Sigstore transparency entry: 1436098873
- Sigstore integration time:
-
Permalink:
Zer0pa/ZPE-Image@07e68bad0df449e6d8d3bb4edf4dbb68985870ca -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/Zer0pa
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@07e68bad0df449e6d8d3bb4edf4dbb68985870ca -
Trigger Event:
push
-
Statement type: