Skip to content

Darkroom marks and a preferred size for test sheets - #44

Merged
akendrick merged 1 commit into
mainfrom
feature/darkroom-marks
Nov 4, 2026
Merged

akendrick merged 1 commit into
mainfrom
feature/darkroom-marks

Conversation

@akendrick

Copy link
Copy Markdown
Owner

Darkroom marks

Red and orange negatives all but vanish under a red safelight. Two optional checkboxes add black marks that show there:

  • Guide line: a thin black line right against the image.
  • Registration marks: a crosshair target centred on each side, plus corner crop marks continuing the image's edges.

On negatives they're in black ink in the safe edge, so they block UV like the safe edge and don't print (checked against the simulated carbon print). On inkjet prints they go in a 0.25 in white border, which counts towards the print size. They're available in the Print and Negative tabs (a new "Darkroom marks" section), saved in negative setups, and offered in the blocking test and the process chart wizard. CLI: --guide, --registration on negative and target --kind blocking|chart.

Preferred size for test sheets

The blocking test and process chart page can be enlarged or shrunk to fit within W x H. The box turns to match the sheet, the safe edge is included, and the sheet never goes past the page's margins (which don't turn). Patches keep their shape, so scans read as before; I checked this with simulated round trips. The size is remembered (chart_size) and shared by both wizards, and a process run keeps it in run.json. CLI: target --size WxH.

Tighter stacked charts

The gap between stacked process charts is now 0.1 in (was 0.3 in).

Parity and tests

  • New openquad/marks.py ↔ Marks.swift; scale helpers in both languages; vectors for masks, marked negatives, print marks, scaled and marked sheets, scales and sessions.
  • tests/test_marks.py, process-run size and marks tests, the app's MarksTests. Swift core 67 and app 31 tests pass; the pytest suite passes in the hook.

🤖 Generated with Claude Code

A black guide line round the image and registration marks (a crosshair target on
each side, corner crop marks), each optional. On negatives they sit in the safe
edge in black ink: visible under a red safelight, where red and orange negatives
all but vanish, and blocking UV like the safe edge so they never print. Prints
get them in a 0.25 in white border. Saved setups remember them; the blocking
test and process charts offer them too.

The blocking test and process chart page can be enlarged or shrunk to fit within
W x H (turned to match, never past the page's margins); remembered as chart_size.
Stacked charts now sit 0.1 in apart instead of 0.3 in.

CLI: --guide/--registration on negative and target; target --size WxH.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@akendrick
akendrick merged commit 44d7e56 into main Nov 4, 2026
5 checks passed
@akendrick
akendrick deleted the feature/darkroom-marks branch November 4, 2026 21:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant