Repository navigation
filmlab v0.5.0
filmlab v0.5.0
Framing release: frames now leave the scanner with no border and a
consistent shape.
Added
- Border removal —
analyzetrims the scanner's white holder margin
and the film's black edge from every frame, then centre-crops to the
film-gate ratio. The border is found by anchoring on the dark band
(white margin -> transition -> black edge -> picture), and rows/columns
are aggregated across the strip because the gate sits at a fixed
position. --ratio 4:3— override the gate ratio (stored asfilm.ratioin
roll.toml) for a strict 4:3 delivery instead of 56:41.5.roll.toml[grade]/[export]now survive re-runninganalyze.
Fixed
- Frame edges no longer carry black bands: pitch is measured from the
unexposed gaps and frame bounds snap to them.
Verified on
Hasselblad X5 120/645 C-41 strips (13 frames, edge luminance > 0.25 on
every side, all ratios 1.333), an E-6 strip, and a Noritsu lab TIFF roll.
55 tests, CI green on Python 3.11–3.14.
Install: download the wheel from this release and
pip install filmlab-0.5.0-py3-none-any.whl.