|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-05-01 11:31 UTC] vito@php.net
[2013-02-18 00:35 UTC] pecl-dev at lists dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 14:00:01 2025 UTC |
Description: ------------ 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->readImage('test.jpg'); $image->setCompressionQuality(93); $image->resizeImage(500, 500, Gmagick::FILTER_BOX, 1, true); $image->writeImage('test_resized.jpg'); $image->destroy(); Expected result: ---------------- Image resized to 500x500 with Box filter Actual result: -------------- Image resized to 500x500 with default filter.