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
 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Thu Jan 02 19:01:28 2025 UTC