Files
photocraft/crates/engine/src
David MannandClaude Opus 5.5 46ac4fc8f3 Crop: refuse an invalid explicit rectangle instead of cropping to the selection (#9279)
image.crop built an explicit rectangle only when x, y, width and height were
all integers with width and height above 0; anything else fell back to the
selection's bounds, so width 0, a negative or string size, or only some of
the four keys cropped to the selection and reported success. A rectangle
that is passed (any of the four keys non-null) but incomplete or empty is now
a bad-params error and the document is unchanged; {} still crops to the
selection.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 02:28:59 +01:00
..
2026-10-22 15:38:33 +00:00
2026-10-22 15:39:28 +00:00
2026-10-22 15:38:21 +00:00
2026-10-22 15:38:21 +00:00
…
2026-10-22 15:39:51 +00:00