Operators page: 1

Adaptive blur
Adaptively blur pixels, with decreasing effect near the edges.
Adaptive blur example
<?php 
$cmd 
"$input -adaptive-blur 0x2 "
exec("convert $cmd adaptive-blur.jpg");
  
?>
Adaptive resize
Resize the image using data-dependent triangulation.
Adaptive resize example
<?php 
$cmd 
"$input -adaptive-resize 133x100 "
exec("convert $cmd adaptive-resize.jpg");
 
?>
Adaptive sharpen
Adaptively sharpen pixels, with increasing effect near edges.
Adaptive sharpen example
<?php 
$cmd 
"$input -adaptive-sharpen 5x0.5 "
exec("convert $cmd adaptive-sharpen.jpg");
 
?>
Adjoin
Join images into a single multi-image file.
More information to follow.



( Adjoin )
Affine
Set the drawing transformation matrix for combined rotating and scaling.
See distort

Annotate
Annotate an image with text - angle option
Annotate example
Another Annotate example
<?php 
$cmd 
"$input -fill white -pointsize 30 -gravity center "
" -annotate -40 \"Angle annotate\""
exec("convert $cmd annotate_angle.jpg");

$cmd "$input -fill black -pointsize 40"
" -gravity center -annotate +0+0 \"Annotate\""
" -fill white -annotate +2+2 \"Annotate\""
exec("convert $cmd annotate.jpg");
   
?>


( 3 O'clock is zero degrees and clockwise is positive. )
Antialias
Enable/Disable of the rendering of anti-aliasing pixels when drawing fonts and lines.
Antialias example
<?php 
$cmd 
"-size 213x160 xc:NavajoWhite -antialias "
"-stroke black -strokewidth 5 "
"-draw \"line 10,10 200,150 \" "
exec("convert $cmd antialias_on.jpg");
 
?>


( On by default and so -antialias does not need to be specified. )
Antialias off
Enable/Disable of the rendering of anti-aliasing pixels when drawing fonts and lines.
Antialias off example
<?php 
$cmd 
"-size 213x160 xc:NavajoWhite +antialias -stroke black"
" -strokewidth 5 -draw \"line 10,10 200,150 \" "
exec("convert $cmd antialias_off.jpg");
     
?>
Append
Join current images vertically or horizontally.
Append example
<?php 
$cmd 
"clone.jpg clone.jpg -append"
exec("convert $cmd append_vert.jpg");
 
?>


( Now one image consisting of the two original images. )
Append horizontal
Join current images vertically or horizontally.
Append horizontal example
<?php 
$cmd 
"clone.jpg clone.jpg +append"
exec("convert $cmd append_horiz.jpg");
 
?>


( Now one image consisting of the two original images. )
Attenuate
Lessen (or intensify) when adding noise to an image.
Attenuate example
<?php 
$cmd 
"$input -attenuate 4 +noise Impulse"
exec("convert $cmd attenuate.jpg");
 
?>
Authenticate
Decrypt a PDF with a password.
<?php 
$cmd 
"input.pdf -authenticate passwd"
exec("convert $cmd authenticate.jpg");
 
?>
Auto gamma
Automagically adjust gamma level of image.
Auto gamma example
<?php 
$cmd 
"$input -auto-gamma"
exec("convert $cmd auto_gamma.jpg");
 
?>
Auto level
Automagically adjust color levels of image.
Auto level example
<?php 
$cmd 
"$input -auto-level"
exec("convert $cmd auto_level.jpg");
 
?>