note 102483 modified in function.imagick-paintfloodfillimage by danbrown

From: Date: Thu, 17 Feb 2011 16:16:24 +0000
Subject: note 102483 modified in function.imagick-paintfloodfillimage by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-177080@lists.php.net to get a copy of this message
Seems that this method doesn't work as expected. Use Imagick::floodFillPaintImage() instead. <?php $img = new Imagick('/tmp/test.png'); $img->floodFillPaintImage('green', 10, 'white', 100, 100, false); $img->writeImage('/tmp/out.png'); $img->clear(); $img->destroy(); ?> --was-- Seems that this method doesn't work as expected. Use Imagick::floodFillPaintImage() instead. $img = new Imagick('/tmp/test.png'); $img->floodFillPaintImage('green', 10, 'white', 100, 100, false); $img->writeImage('/tmp/out.png'); $img->clear(); $img->destroy(); http://php.net/manual/en/function.imagick-paintfloodfillimage.php

« previous php.notes (#177080) next »