Imagemagick operators page: 7

Edge

Detect edges within an image.

Edge example
<?php 
$cmd 
"$input -edge 2 "
exec("convert $cmd edge.jpg");
 
?>

Emboss

Emboss an image.

Emboss example
<?php 
$cmd 
"$input -emboss 15 "
exec("convert $cmd emboss.jpg");
 
?>

Encipher

Encipher pixels for later deciphering by -decipher.

Encipher example
<?php 
$cmd 
"$input -encipher images/passkey.txt "
exec("convert $cmd encipher.png");
 
?>

( The key is in the text file or can be another image. You need to use an image format that does not recompress the image e.g. png )

Encoding

Specify the text encoding.

Encoding example
<?php 
$cmd 
"-size 213x160 -background NavajoWhite ".  
"-fill black -gravity center -encoding utf8 ".
" caption:\"Encoding\" ";  
exec("convert $cmd encoding.jpg");
 
?>

Endian

Specify endianness (MSB or LSB) of the image.

More information to follow.

<?php 
$cmd 
"$input -endian: lsb ";  
exec("convert $cmd endian.jpg");
 
?>

( Use +endian to revert to unspecified endianness. )

Enhance

Apply a digital filter to enhance a noisy image.

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

Equalize

Perform histogram equalization on the image channel-by-channel.

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

Evaluate

Evaluate example
<?php 
$cmd 
"$input -matte -channel A ".
" -evaluate set 20% +channel"
exec("convert $cmd evaluate.jpg");
   
?>

Evaluate sequence

Alter channel pixels by evaluating an arithmetic, relational, or logical expression over a sequence of images.

Extent

Set the image size and offset.

Extent example
<?php 
$cmd 
"$input -background NavajoWhite"
" -gravity center -extent 223x200 "
exec("convert $cmd extent.jpg");
  
?>

Extract

Extract the specified area from image.

Extract example
<?php 
$cmd 
"-size 266x200 -extract 100x100+50+50"
$input"
exec("convert $cmd extract.jpg");
  
?>

Family

Set a font family for text.

Family example
<?php 
$cmd 
"-size 213x160 -background NavajoWhite -fill black"
" -gravity center -pointsize 30 -family AvantGarde -font AvantGarde-DemiOblique caption:\"Family\" "
exec("convert $cmd family.jpg"); 
 
?>

Features

Display (cooccurrence matrix) texture measure features for each channel in the image in each of four directions (horizontal, vertical, left and right diagonals) for the specified distance.


( Used with identify )

FFT

Implements the forward discrete Fourier transform (DFT).

FFT example
<?php 
$cmd 
"$input3 -fft "
exec("convert $cmd fft.png");
 
?>

( Uncompressed image formats only. )