|  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
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-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 13 17:01:30 2024 UTC