barrel distortion syntax?

PerlMagick is an object-oriented Perl interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning PerlMagick.
Post Reply
Ryland

barrel distortion syntax?

Post by Ryland »

Is barrel distortion implemented in the PerlMagick API? I can't find it in the documentation.
el_supremo
Posts: 1015
Joined: 2005-03-21T21:16:57-07:00

Re: barrel distortion syntax?

Post 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
Ryland

Re: barrel distortion syntax?

Post 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.
Post Reply