#89191ImageManipulationWizard looses precision on large images
Description
Description
When cropping an image larger than 1000×1000 pixels the ImageManipulationWizard may loose precision on the selected size.
E.g. you select a width of 1200 pixels from an 1920×1080 image, after saving the selected width is only 1198 pixels.
Steps to reproduce
- Upload an image with at least one dimension larger than 1000px
(use full hd or similar to see the effect more easily)
- Create a content element of type “images”
- Add the uploaded image to that element
- Open the image manipulation editor
- Select a cropped area, note down the selected size
- Click “Accept” to save and close
- Open again in backend and compare the new selected size with the previous one
(use full hd or similar to see the effect more easily)
Expected behavior
Selected size stays the same even after saving
Actual behavior
Selected size changes after saving
Note
It seems this bug was introduced while fixing https://forge.typo3.org/issues/80157
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.