Repository navigation
Releases
1.6.0 - tooling, evidence and narrowed claims
Tooling, evidence and wording only. The pixel recipe, the CLI surface and the report schema are unchanged from 1.5.2, so both versions produce identical images.
Instrument fixes
- The fingerprint (
tests/ccd_profile.py) measures the shipped pipeline now: it applies the production unsharp mask instead of a lookalike, so--ablate sharpnessno longer returns identical numbers. - Grain is reported at a common 1600 px display edge (
flat_noise_scaled) beside native pixels; frames below that edge reportnullrather than being upsampled. - Intervals are split by family and role (
calibrationjustifies a change,holdoutis acceptance evidence, never pooled). A family the manifest declares but no frame covers is listed asabsent. - Reference reports are titled after the source they measured, so an arbitrary folder can no longer borrow the pilot's title.
- The validator compares declared
Make/Model/ISO/Flashwith the file's EXIF and treats a filled entry withoutlocal_pathas an error. This caught 13 pilot entries that recorded marketing names (COOLPIX 990) instead of EXIF values (E990). - Output is byte-identical across runs: the ICC header timestamp is pinned.
Evidence
docs/samples/pipeline-self-check.jsonanddocs/samples/ccd-reference-daylight.jsonregenerated with the corrected instrument.- One comparison the pilot now supports: its daylight frames carry about 0.4 L* of grain at a 1600 px display size while this pipeline carries 1.6-1.8 L* - several times heavier. Recorded, not acted on: the recipe stays frozen until Tier A frames exist.
CCD_STRICT=1removes theexpectedFailureprotection from the four known-issue regressions.
Claims
- The bundle no longer claims to restore a specific camera, to match a real CCD sensor, or to reach camera-level accuracy.
Still open
- Four known recipe defects (
tests/KNOWN_ISSUES.md) stay pinned as expected failures. - Reference intervals cover the daylight families only (
indoor-flashone frame,night-flashnone); no blind test against Tier A straight-out-of-camera files has been run. - HEIC/HEIF cannot be decoded in this environment; export to JPEG/PNG first.
Install: unzip into your DSH skills directory so the folder is named ccd-photo-enhancer.
1.5.2
Explicit wording for skips and for folders that produce no output. No pixel changes.
- A skipped file now reads
已跳过:<cause>;未生成输出文件。…; no path describes a skip as success. - An empty folder (or one holding only non-photo files) reports
nothing_processedwith目录中没有可处理照片。, exit 2, instead of a generic "no files" error. - An all-skipped folder reports
未生成输出:N 个文件均因格式不受支持而被跳过。; a no-output folder with mixed skips and failures reports both counts. The word 失败 is reserved for files that really failed. - Batch
noticewith skips:已跳过 N 个文件:当前环境不支持这些格式;未生成对应输出文件。 - Single-file skip keeps
status=skipped,image_written=false, exit 2. - 45 tests pass; docs (
SKILL.md,references/image-pipeline.md,README.md) state the wording rules.
Install: download ccd-photo-enhancer.zip, extract it, and place the ccd-photo-enhancer directory in your agent's skill directory.
1.5.1
Declarative batch semantics for unsupported formats; no pixel changes.
- Four batch statuses:
processed,processed_with_skips,partially_processed,nothing_processedwith exit codes 0/0/1/2. - New
--skip-unsupportedrecords HEIC/HEIF asskippedwith a reason instead of failing the batch; skips are reported inskipped_filesandnotice. - A folder containing only unsupported files now exits 2 instead of reporting success.
- Single-file HEIC with the flag reports
skipped,image_written: false, exit 2. - Pixel output is byte-identical to 1.5.0 for every preset and strength; 41 tests pass.
Install: download ccd-photo-enhancer.zip, extract it, and place the ccd-photo-enhancer directory in your agent's skill directory.
CCD Photo Enhancer 1.5.0
Highlights
- Deterministic, local CCD / early compact-digital-camera styling with four scene-oriented presets.
- Single-image processing and non-recursive folder batch mode with per-image reports.
- Reproducible grain via explicit seeds; source files are never overwritten.
- Local-only processing with no photo uploads and EXIF/GPS removed from outputs.
- Batch exit codes distinguish complete success (0), partial success (1), and no success (2).
Install
npx skills add long970/ccd-skill --skill ccd-photo-enhancer
The packaged bundle is attached below for environments that install from an archive.
Verification
- 38 automated tests cover routing, determinism, alpha/EXIF handling, clipping bounds, batch safety, and failure reporting.
- GitHub Actions passes on Ubuntu and Windows with Python 3.12 for commit
92e5bbc. - A clean Skills CLI install from the public repository reports version 1.5.0 and matching file contents.
Requirements and limits
- Python 3.12, Pillow, and NumPy are required. The CLI does not install dependencies or access the network.
- Supports static JPEG, PNG, and WebP. HEIC/HEIF, animation, unsupported ICC profiles, floating-point rasters, and images above 60 MP fail explicitly.
- This is a deterministic visual approximation, not a physical model of a specific CCD sensor. It does not create real flash shadows or perform semantic retouching.
Archive SHA-256: 78094fe1bbb0f378112b2f5167972efc3dab3e8657b6a81d5d6df915c019c2a2
Full changelog: https://github.com/long970/ccd-skill/blob/main/CHANGELOG.md