Review main Abandoned

67173[BUGFIX] Images are streched when crop area changes its aspect ratio

Thomas Maroschik CR 0 V 0 Easy +8 −0 updated 12/22/20, 05:39

Commit message

Change #91855 optimized the image processing. When the crop area changes
the images aspect ratio, the scaled dimensions are still calculated upon
the original image sizes instead of the size of the crop area. This leads
to streched images.

This fix adjusts the image info in the ->getImageScale method so, that
the resulting size is derived correctly again.

Review

  • Code review CR 0

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V 0

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 1