Review main Merged

96759[FEATURE] Display aspect ratio of free crop area in image editor

Georg Ringer CR +2 V +2 Normal +145 −2 updated 11/09/26, 20:51

Commit message

The image manipulation dialog now shows the aspect ratio next to the
size of the selected crop area while the ratio "Free" is active, for
example "1600×900 px (16:9)".

A freely drawn area rarely matches a ratio exactly, therefore the
closest common ratio within a tolerance of 2% is shown, prefixed with
a tilde if it is only approximate, for example "635×849 px (~3:4)".
If no common ratio is close enough, only the size is shown.

Review

  • Code review CR +2 Done
    • Benni Mack +2
    • Simon Schaufelberger +1
  • Verified V +2 Done
    • Benni Mack +2
    • Simon Schaufelberger +1
    • core-ci +1 CI

Issues 1

Files 6

Review log 56

  1. Georg Ringer uploaded patch set 1 10/16/26, 14:48

  2. Georg Ringer commented on patch set 1 10/16/26, 14:49

    This change is ready for review.
  3. core-ci voted on patch set 1 V +1 10/16/26, 14:57 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/111370

  4. Simon Schaufelberger voted on patch set 1 CR +1 V +1 10/19/26, 15:03

  5. Benni Mack commented on patch set 1 CR +2 V +2 11/09/26, 20:51

    nice one
  6. Benni Mack merged patch set 2 11/09/26, 20:51