>> 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?
>
> You could try to do an affine transform. You'll have to look up the
> parameters for a rotate transform, though.
>
> GNS
>

Thanks for the advice.

I gave this a try:

$image->AffineTransform(rotate=>1);

But the AA still happens.  I've even tried:

$image->Read('testimage.jpg');
$image->Write('testimage.png');
$image = Image::Magick->new();
$image->Read('testimage.png');
$image->Set(antialias=>'False');
for (my $i = 0; $i < 45; $i++)
{
   $image->AffineTransform(rotate=>1);
}
$image->Write("blurrymess.png");

in case the jpg lossy format was somehow messing with things, but that
didn't help either.
_______________________________________________
Magick-users mailing list
Magick-users@imagemagick.org
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to