Opened 11 years ago
Last modified 5 years ago
#24888 new defect (bug)
In image editor, cropping scale gets applied off by 0.4%
Reported by: | diegomarangoni | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.5 |
Component: | Media | Keywords: | needs-patch |
Focuses: | administration | Cc: |
Description
When you scale the crop preview, the editor does not keep the right ratio.
To reproduce this error:
- Upload an image with 4608 x 3072
- On the crop feature, create an selection with 1680 x 560
- Hold shift and scale to fit all image width (4608px)
- The height result was 1544px, that is wrong, the correct is 1536px.
Change History (5)
#1
in reply to:
↑ description
@
11 years ago
#3
in reply to:
↑ 2
@
11 years ago
Replying to alexvorn2:
4608/1680 * 560 = 1536
this is how the number come from...
I tried with an fresh install of WP and keep having same error.
Tested with Chrome and Safari.
#4
@
10 years ago
- Keywords needs-patch added
- Severity changed from critical to normal
- Summary changed from Image cropping does not scale correctly to In image editor, cropping scale gets applied off by 0.4%
Confirmed. Not a big deal, I personally would rather see the whole image editor redone rather than fixing bug after bug found in it.
Note: See
TracTickets for help on using
tickets.
Tested on MacOS 10.8 with the following browsers: