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 <firstname.lastname@example.org>
Reviewed-by: Markus Klein <email@example.com>
Tested-by: Markus Klein <firstname.lastname@example.org>
Reviewed-by: Andreas Fernandez <email@example.com>
Tested-by: Andreas Fernandez <firstname.lastname@example.org>