cropping area isn't set correct as result:
- previews are not correct
- FE result isn't correct
[BUGFIX] Calculate correct cropping for large images
When the visible image in the cropping wizard is a scaled
version of the original image we need to take the scaled ratio into
account when setting the crop info.
Scaling of the original images occurs when it is bigger then
1000px x 700px.
This patch makes sure the crop info is correctly calculated.
Reviewed-by: Wouter Wolters <email@example.com>
Reviewed-by: Markus Klein <firstname.lastname@example.org>
Tested-by: Markus Klein <email@example.com>
Reviewed-by: Andreas Fernandez <firstname.lastname@example.org>
Tested-by: Andreas Fernandez <email@example.com>