photocraft/crates/engine
Brandon Thomas d64f809e4d
Layer via Copy, Copy and Cut read only the selected area: 33x faster on 24 MP (#668) (#985)
lift() converted the whole layer to a format with alpha before reading the
selection's rectangle, so on a 24 MP Background every Layer via Copy cost about
a second whatever the selection's size, and it sampled the selection mask one
pixel at a time. It now reads just that rectangle and the mask's rectangle.

6000x4000 Background, 2000x1500 selection, release: Layer via Copy 984 ms ->
30 ms. Select All then Layer via Copy: 212 ms.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 03:17:48 -04:00
..
examples Add the Content-Aware Move tool (#213) (#814) 2026-10-07 18:40:14 -04:00
src Layer via Copy, Copy and Cut read only the selected area: 33x faster on 24 MP (#668) (#985) 2026-10-08 03:17:48 -04:00
tests fix(algo): Path Blur clamps per-path speeds (#708) (#840) 2026-10-07 21:06:10 -04:00
Cargo.toml Photoshop oracles via storytold/photocraft-corpus: pinned corpora, corpus feature, test-corpus, CI job (#190) (#190) 2026-10-05 17:47:33 -04:00