Opened 13 years ago
Last modified 7 years ago
#24888 new defect (bug)
In image editor, cropping scale gets applied off by 0.4%
| Reported by: | diegomarangoni | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Media | Version: | 3.5 |
| Severity: | normal | Keywords: | needs-patch |
| Cc: | Focuses: | administration |
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
@
13 years ago
#3
in reply to: ↑ 2
@
13 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
@
12 years ago
- Keywords needs-patch added
- Severity critical → normal
- Summary Image cropping does not scale correctly → 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Tested on MacOS 10.8 with the following browsers: