mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-03 06:31:42 +01:00
image.crop takes optional targetWidth/targetHeight (px), resolution (ppi) and resample: the cropped area is resampled to exactly that size (the Image Size code path, now shared) and the resolution set, in the same undo step, also after a turned crop. The Crop options bar gets W x H x Resolution with unit-aware W/H fields, a px/in or px/cm resolution, Photoshop's built-in size presets, Front Image (and I) and Clear; the frame holds W:H while drawn or resized, X and the swap button swap W and H. Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>