Page 1 of 1

barrel distortion syntax?

Posted: 2008-10-26T11:48:46-07:00
by Ryland
Is barrel distortion implemented in the PerlMagick API? I can't find it in the documentation.

Re: barrel distortion syntax?

Posted: 2008-10-26T12:18:27-07:00
by el_supremo
See the Distort method in the list of Image Manipulation Methods at http://imagemagick.org/script/perl-magick.php
and from the command line issue this command:

Code: Select all

convert -list distort
which will print the valid distort methods in your version of IM.
On my system IM 6.4.4 prints:

Code: Select all

Affine
AffineProjection
ScaleRotateTranslate
SRT
Perspective
PerspectiveProjection
Bilinear
Arc
Polar
DePolar
Barrel
BarrelInverse
Shepards
Pete

Re: barrel distortion syntax?

Posted: 2008-10-26T12:28:35-07:00
by Ryland
Thanks, that's good info.

My webhost has 6.4.1 installed, which doesn't have barrel distortion, apparently. I'll have to see if they can update the install.

Thanks again.