|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59054 cropImage doesn't work
Submitted: 2010-02-01 10:53 UTC Modified: 2010-02-10 17:47 UTC
From: spinn909 at gmail dot com Assigned:
Status: Closed Package: gmagick (PECL)
PHP Version: 5_3.1RC2 OS: Debian 5.0.3 amd64
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: spinn909 at gmail dot com
New email:
PHP Version: OS:


 [2010-02-01 10:53 UTC] spinn909 at gmail dot com
cropImage returns error when trying to crop an image (using GraphicsMagick 1.2.10, I wasn't able to get the extension working with the latest GM version).

Reproduce code:
$gm = new Gmagick('image.jpg');
$gm->cropImage(50, 50, 5, 5);

Expected result:
The cropped image with no errors.

Actual result:
GmagickException: geometry does not contain image (unable to crop image)


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2010-02-10 17:47 UTC]
This bug has been fixed in SVN.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on

In case this was a website problem, the change will show
up on the website in short time.
Thank you for the report, and for helping us make PECL better.

PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Fri May 29 07:01:25 2020 UTC