The most dramatic effect on images can be usually achieved with very simple tricks. The original image in this example has been scaled down a few times so you can see it is getting a bit blurred.

PHP:
  1. <?php
  2.  
  3. /* Read the image*/
  4. $im = new imagick( "chev7_orig.png" );
  5.  
  6. /* Add some contrast */
  7. $im->contrastImage( 1 );
  8.  
  9. /* Add some adaptive blur */
  10. $im->adaptiveBlurImage( 1, 1 );
  11.  
  12. /* Output the image */
  13. header( "Content-Type: image/png" );
  14. echo $im;
  15.  
  16. ?>

The original image (provided by Kevin Waterson)

orig

And here is the enhanced version:

contrast

Bookmark and Share