note 89160 modified in function.imagick-unsharpmaskimage by danbrown

From: Date: Tue, 24 Feb 2009 16:12:02 +0000
Subject: note 89160 modified in function.imagick-unsharpmaskimage by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-151078@lists.php.net to get a copy of this message
Prepare photo for web <?php $im = new Imagick($SrcFile); $im->resizeImage ( $Width, $Height , Imagick::FILTER_QUADRATIC , 1 ); $im->normalizeImage(); $im->unsharpMaskImage(0 , 0.5 , 1 , 0.05); $im->setImageFormat( "jpg" ); $im->setCompressionQuality(75); $im->writeImage( $OutFile ); $im->removeImage(); ?> --was-- Prepare photo for web $im = new Imagick($SrcFile); $im->resizeImage ( $Width, $Height , Imagick::FILTER_QUADRATIC , 1 ); $im->normalizeImage(); $im->unsharpMaskImage(0 , 0.5 , 1 , 0.05); $im->setImageFormat( "jpg" ); $im->setCompressionQuality(75); $im->writeImage( $OutFile ); $im->removeImage(); http://php.net/manual/en/function.imagick-unsharpmaskimage.php

« previous php.notes (#151078) next »