DJ Mike's Tutorials: PHP

ImageMagick Functions

^

Imagick::edgeImage

Description:
bool Imagick::edgeImage ( float $radius )

Enhance edges within the image with a convolution filter of the given radius. Use radius 0 and it will be auto-selected.
Parameters:
radius
The radius of the effect.
Return Values
Returns TRUE on success.
Errors/Exceptions
Throws ImagickException on error.

Example



<?php
header
("Content-type: image/jpeg");
$image = new Imagick("opossum.jpg"); 
$image->edgeImage(3);
echo 
$image;
?> 


^


Created by DJ Mike from Santa Barbara

DJ Mike


Dance Away Santa Barbara's Home Page
<a href="http://www.statcounter.com/" target="_blank"> <img src="http://c5.statcounter.com/counter.php?sc_project=1321035&java=0&security=da2193dc" alt="counter free hit invisible" border="0" /></a>