X-Git-Url: https://granicus.if.org/sourcecode?a=blobdiff_plain;f=www%2Fperl-magick.html;h=fae40aa647416aaad1722b59d694ae0b7ee8095c;hb=bf126f7596e112266716c6ca94a8ff638a7c4400;hp=f9991264f3866f9b11f178ef807389d473b78197;hpb=f9c560775547d68d28802ddbd2314bdeaa331b0c;p=imagemagick diff --git a/www/perl-magick.html b/www/perl-magick.html index f9991264f..fae40aa64 100644 --- a/www/perl-magick.html +++ b/www/perl-magick.html @@ -49,12 +49,19 @@
- - [ImageMagick] - - [sponsor] +
+ + +
ImageMagick Logo
- - +
@@ -218,10 +221,10 @@

ImageMagick must already be installed on your system. Next, get the PerlMagick distribution corresponding to the installed ImageMagick distribution -(e.g., PerlMagick 6.68 for -ImageMagick 6.6.8) and unpack it as shown below:

+(e.g., PerlMagick 6.70 for +ImageMagick 6.7.0) and unpack it as shown below:

-

$magick> tar xvfz PerlMagick-6.68.tar.gz $magick> cd PerlMagick

+

$magick> tar xvfz PerlMagick-6.70.tar.gz $magick> cd PerlMagick

Next, edit Makefile.PL and change LIBS and INC to include the appropriate path information to the required MagickCore library. You may need paths to JPEG, PNG, TIFF, etc. delegates if they were included with your installed version of ImageMagick. Build and install it like this:

$magick> perl Makefile.PL $magick> make $magick> make install

@@ -337,7 +340,7 @@ ImageMagick 6.6.8) and unpack it as shown below:

   $image = Image::Magick->new;
   $image->Set(size=>'100x100');
-  $image->ReadImage('xc:white');
+  $image->ReadImage('canvas:white');
   $image->Set('pixel[49,49]'=>'red');
 
@@ -734,7 +737,7 @@ ImageMagick 6.6.8) and unpack it as shown below:

Distort - points=>array of float values, method=>{Affine, AffineProjection, Bilinear, Perspective, ScaleRotateTranslate}, virtual-pixel=>{Background Black Constant Dither Edge Gray Mirror Random Tile Transparent White}, best-fit=>{True, False} + points=>array of float values, method=>{Affine, AffineProjection, Bilinear, Perspective, Resize, ScaleRotateTranslate}, virtual-pixel=>{Background Black Constant Dither Edge Gray Mirror Random Tile Transparent White}, best-fit=>{True, False} distort image @@ -932,7 +935,7 @@ ImageMagick 6.6.8) and unpack it as shown below:

MedianFilter - radius=>double + geometry=>geometry, width=>integer, height=>integer, channel=>{All, Default, Alpha, Black, Blue, CMYK, Cyan, Gray, Green, Index, Magenta, Opacity, Red, RGB, Yellow} replace each pixel with the median intensity pixel of a neighborhood. @@ -944,7 +947,7 @@ ImageMagick 6.6.8) and unpack it as shown below:

Mode - radius=>double + geometry=>geometry, width=>integer, height=>integer, channel=>{All, Default, Alpha, Black, Blue, CMYK, Cyan, Gray, Green, Index, Magenta, Opacity, Red, RGB, Yellow} make each pixel the predominate color of the neighborhood. @@ -1035,7 +1038,7 @@ fill=>color name, channel=>{All, De ReduceNoise - radius=>double + geometry=>geometry, width=>integer, height=>integer, channel=>{All, Default, Alpha, Black, Blue, CMYK, Cyan, Gray, Green, Index, Magenta, Opacity, Red, RGB, Yellow} reduce noise in the image with a noise peak elimination filter @@ -1176,6 +1179,11 @@ fill=>color name, channel=>{All, De displace image pixels by a random amount + + Statistic + geometry=>geometry, width=>integer, height=>integer, channel=>{All, Default, Alpha, Black, Blue, CMYK, Cyan, Gray, Green, Index, Magenta, Opacity, Red, RGB, Yellow}, type=>{Median, Mode, Mean, Maximum, Minimum, ReduceNoise} + replace each pixel with corresponding statistic from the neighborhood. + Stegano image=>image-handle, offset=>integer