Project

General

Profile

Actions

Bug #89191

closed

ImageManipulationWizard looses precision on large images

Added by Jako Danar about 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Image Cropping
Target version:
-
Start date:
2019-09-17
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:

Description

Description
When cropping an image larger than 1000x1000 pixels the ImageManipulationWizard may loose precision on the selected size.
E.g. you select a width of 1200 pixels from an 1920x1080 image, after saving the selected width is only 1198 pixels.

Steps to reproduce
  1. Upload an image with at least one dimension larger than 1000px
    (use full hd or similar to see the effect more easily)
  2. Create a content element of type "images"
  3. Add the uploaded image to that element
  4. Open the image manipulation editor
  5. Select a cropped area, note down the selected size
  6. Click "Accept" to save and close
  7. Open again in backend and compare the new selected size with the previous one

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


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #80169: Aspect ration is wrong in media element (fal) detailsClosed2017-03-07

Actions
Related to TYPO3 Core - Bug #80157: Image Manipulation uses full size imageClosed2017-03-06

Actions
Actions

Also available in: Atom PDF