mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-03 15:05:02 -06:00
A resize of a turned image sends ImageEdit::Transform, which had no headless path (AGENTS 3). image_edit now takes action transform with matrix: six numbers in top-left-origin points, like the tool's other geometry, applied after the image's placement. The tool converts it to user space through the page's view mapping, and refuses a matrix that is not finite, is flat (a·d − b·c = 0) or moves the image out of range. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>