[magick-users] disable antialias on rotations with perlMagick
Ian
perlMagick at zestysoft.com
Wed Jul 26 16:05:03 PDT 2006
Currently, I've got code like this:
--cut--
#!/usr/bin/perl
use warnings;
use strict;
use Image::Magick;
my $image = Image::Magick->new();
$image->Read('testimage.jpg');
$image->Set(antialias=>'False');
--cut--
Whenever I do a rotate, antialias still seems to mung up the image... It
get worse with consecutive rotates:
--cut--
#for a blurry mess:
for (my $i=0; $i<45; $i++)
{
$image->Rotate(degrees=>1);
}
--cut--
I was wondering if there was a way to turn off antialiasing for rotation,
or a different method to rotate an image w/o otherwise altering the data?
More information about the Magick-users
mailing list