|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59658 Filter parameter doesn't work in resizeImage
Submitted: 2011-03-09 13:29 UTC Modified: 2013-02-18 00:35 UTC
From: vadim dot dorokhov at gmail dot com Assigned: vitoc (profile)
Status: No Feedback Package: gmagick (PECL)
PHP Version: 5.2.6 OS: Debian GNU/Linux 5.0.8 (lenny)
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:
Bug Type:
From: vadim dot dorokhov at gmail dot com
New email:
PHP Version: OS:


 [2011-03-09 13:29 UTC] vadim dot dorokhov at gmail dot com
Filter parameter in resizeImage method seems not working.
I always get the same result regardless of selected filter.
I also tried to test resize examples from repository (branches/poc/tests/gmagick-003-resize_variations.phpt), but attributes of resizeImage method in that example go in wrong order, filter is used instead of blur and vice versa.

Reproduce code:
$image = new Gmagick();
$image->resizeImage(500, 500, Gmagick::FILTER_BOX, 1, true);

Expected result:
Image resized to 500x500 with Box filter

Actual result:
Image resized to 500x500 with default filter.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2011-05-01 11:31 UTC]
Hi Vadim,

Had checked the source that the right long constant is 
passed onto GraphicsMagick. 

Is it possible for you to supply the source image (with 
intended output image will be even better)?


 [2013-02-18 00:35 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 "Open". Thank you.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Apr 15 04:01:28 2024 UTC