Imagemagick operators page: 12

Modulate

Vary the brightness, saturation, and hue of an image.

Modulate example
<?php 
$cmd
"$input -modulate 125,75,100"
exec("convert $cmd modulate.jpg");
 
?>

Moments

Report image moments.

<?php 
system
(" identify $input -moments"); ?>

( Used with identify.

Rubblewebs\imagemagick\operators\images\input.jpg JPEG 213x160 213x160+0+0 8-bit sRGB 34.9KB 0.000u 0:00.000 )

Monitor

Monitor progress.

More information to follow.

Monochrome

Transform the image to black and white.

Monochrome example
<?php 
$cmd 
"$input -monochrome "
exec("convert $cmd monochrome.jpg");
 
?>

Morph

Morphs an image sequence.

Morph example
<?php 
$cmd 
"$input hald_clut.jpg colorspace.jpg -morph 20"
exec("convert $cmd morph.gif");
  
?>

( File sizes can get quite large. )

Morphology

apply a morphology method to the image.

Mosaic

A simple alias for the -layers method "mosaic".

More information to follow.

Motion blur

Motion blur example
<?php 
$cmd 
"$input -motion-blur 0x8+30"
exec("convert $cmd motion_blur.jpg");
  
?>

Name

Name an image.

More information to follow.

Negate

Replace every pixel with its complementary color.

Negate example
<?php 
$cmd 
"$input -negate "
exec("convert $cmd negate.jpg");
 
?>

Noise

Add and remove noise

See noise

Normalize

Increase the contrast in an image by stretching the range of intensity values.

Normalize example
<?php 
$cmd 
"$input -normalize "
exec("convert $cmd normalize.jpg");
 
?>

Opaque

Opaque using fill for the replacement colour and -fuzz to select a range.

Opaque example
<?php 
$cmd 
"$input -fuzz \"20%\" -fill orange -opaque red"
exec("convert $cmd opaque.jpg");
 
?>

Ordered dither

Dither the image using a pre-defined ordered dither threshold map specified, and a uniform color map with the number of levels per color channel.

More information to follow.