Page 1 of 1

Posterize doesn't work...everything else does

Posted: 2009-08-29T17:15:38-07:00
by adityadennis
I'm using PerlMagick in a CGI script, and for some reason Posterize does not work. I've tried other things like Crop, and they work fine. What's so unique about Posterize?

Here's my code:

Code: Select all

use Image::Magick;			
my $image = Image::Magick->new;
$img_open = $image->Read("test.png");
$img_open = $image->Posterize(levels=>'4');
$img_open = $image->Set( page=>'0x0+0+0');
$img_open = $image->Write("test2.png");
This same code works fine for me on my local machine. Any thoughts?

Re: Posterize doesn't work...everything else does

Posted: 2009-08-29T17:32:25-07:00
by magick
Unfortunately we cannot reproduce the problem, $im->Posterize() works as expected. We're using ImageMagick 6.5.5-4, the current release.

Re: Posterize doesn't work...everything else does

Posted: 2009-08-29T17:58:22-07:00
by adityadennis
magick wrote:Unfortunately we cannot reproduce the problem, $im->Posterize() works as expected. We're using ImageMagick 6.5.5-4, the current release.
I'm using the latest release too. It's really bizarre.

Re: Posterize doesn't work...everything else does

Posted: 2010-04-12T07:21:40-07:00
by LobsterMan
I am having this issue in the command line. All functions work, except posterize. Is this a known bug? I am running CentOS release 5.2 with ImageMagic 6.2.8.0-4.el5_1.1 Installed with yum