-
When using the new image crop functionality in the backend the LocalCropScaleMaskHelper crops the image using gdlib functions. Those functions load the whole image into memory and can lead to fatal errors because of memory limits in case of large images. This fix replaces the gdlib functions with according ImageMagick/ GraphicsMagick functions which crop the image outside of PHP's memory. Resolves: #68484 Releases: master Change-Id: I390264838ebfd89701f860302a07b3f5895d46ac Reviewed-on: http://review.typo3.org/43389 Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de> Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de> Reviewed-by: Andreas Bouche <andreas.bouche@flagbit.de> Reviewed-by: Frans Saris <franssaris@gmail.com> Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
68c765dd