php.net |  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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
6 + 13 = ?
Subscribe to this entry?

 
 [2010-02-01 10:53 UTC] spinn909 at gmail dot com
Description:
------------
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)

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-02-10 17:47 UTC] mkoppanen@php.net
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 pecl.php.net.

In case this was a pecl.php.net 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-2019 The PHP Group
All rights reserved.
Last updated: Fri Nov 15 13:01:35 2019 UTC