mirror of
https://github.com/storytold/photocraft.git
synced 2026-10-20 00:15:01 +02:00
* Content-Aware Move: move or extend the selected pixels, the gaps filled content-aware (#213) New command paint.contentAwareMove {offset, mode: move|extend, structure 1..7, color 0..10, sampleAllLayers}. The content is pasted at the offset, its colour fitted to the new place by `color` (0 keeps it, 10 is a full seamless clone), and an edge band whose width `structure` sets is re-synthesised from the surroundings. In move mode the old place is then filled with content_aware::fill, never sampling the moved content (no ghost). The selection follows the content. One undo step; runs as a background job with progress and cancel. Works on layer pixels, masks and channels, at any depth. Timing (retouch_bench, release, 6016x6016, elliptical selections dragged 300 px): 250x250 move 240 ms / extend 129 ms, 500x500 0.93 s / 0.53 s, 1000x1000 2.6 s / 1.5 s. Known limit: at low Structure the wide band comes out smeared (the PatchMatch vote blurs a thin band between high-contrast regions); that is the shared completion, not this command. generated with Claude Code * Content-Aware Move Tool in the J group (#213) Tool::ContentAwareMove next to the Patch Tool: outside the selection a drag draws a lasso, inside it drags the selection and runs paint.contentAwareMove on release (as a background job). Options bar: Mode (Move/Extend), Structure, Color, Sample All Layers. The drag shows the moving outline; a live preview of the result is not part of this change. New strings are translated in every catalog. Scorecard TOOL-213-4: missing -> partial (Transform On Drop and the live preview are still open). generated with Claude Code --------- Co-authored-by: Brandon Thomas <echelon@gmail.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| bench_display.rs | ||
| bench_plugin_invert.rs | ||
| bench_smartselect_cmds.rs | ||
| bench_web.rs | ||
| designer_psd.rs | ||
| retouch_bench.rs | ||