phMagick Image enhancements functions

August 9, 2009 by nuno costa 2 comments

phMagick :: Image enhancements functions

See each function in action over this image

 

 

denoise

<?php
$p = new phmagick('original.png', 'destination.png')
$p->denoise();
?>

sharpen

<?php
$p = new phmagick('original.png', 'destination.png');
$p->sharpen();
?>


smooth

<?php
 $p = new phmagick('original.png', 'destination.png');
 $p->smooth();
?>


saturate

<?php
 $p = new phmagick('original.png', 'destination.png');
 $p->saturate();
?>


contrast

<?php
 $p = new phmagick('original.png', 'destination.png');
 $p->contrast();
?>


edges

<?php
 $p = new phmagick('original.png', 'destination.png');
 $p->edges();
?>

 

2 comments so far Add Your Comment

  1. by Ganesh on October 4 2009 at 22:47

    I thought I could find a sketch/pencil effect in your phMagick class. Did I missed? or the feature is not yet included?

    By the way thanks for the great program.

    Ganesh

  2. by pixo on October 28 2009 at 20:43

    What about parameters? It is not really usable with one default parameter for all sizes of image. What about sharpening, but not destroying very small images.

More from francodacosta.com

© francodacosta.com - All rights reserved