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
 [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 Apr 19 03:01:26 2019 UTC