joomla/joomla-cms — pull request #4324 by bembelimen (2014-09-22 13:13:15+00:00)
Title: Fixed broken CropResize method

If you crop-resize an image and choose set the $createNew Parameter to true, the original image will be resized nevertheless.

The patch fixes this error.

Test:
- Load an image with JImage
- cropResize the Image with "$createNew" to "true".
- Look at the old (orignal) JImage object with the orignal image. It should be resized to the new dimensions
- Apply patch
- Try again => The original image object should have preserved its dimensions