php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #71080 cropImage magic problem
Submitted: 2015-12-10 13:10 UTC Modified: 2015-12-20 04:22 UTC
From: vadimx at gmail dot com Assigned:
Status: No Feedback Package: imagick (PECL)
PHP Version: 5.5.30 OS: Windows
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:
Package:
Bug Type:
Summary:
From: vadimx at gmail dot com
New email:
PHP Version: OS:

 

 [2015-12-10 13:10 UTC] vadimx at gmail dot com
Description:
------------
Crop image function produces 1px image. I have a problem only with this file https://www.dropbox.com/s/8l5fjqolvvafnnv/test.png?dl=0

Test script:
---------------
$image = new Imagick('test.png');
$image->cropImage(20,20,0,0);
$image->writeImage('result.png');
echo $image->getImageHeight();

Expected result:
----------------
20

Actual result:
--------------
1

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-12-10 16:58 UTC] danack@php.net
-Status: Open +Status: Feedback
 [2015-12-10 16:58 UTC] danack@php.net
Please can you say which version of Imagick and ImageMagick you are using, as I am unable to reproduce the problem.
 [2015-12-20 04:22 UTC] pecl-dev at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Wed Jul 28 17:01:24 2021 UTC