Image magick extension lets you create and manipulate images. Its function
is similar to Image extension but
provides more powerful and faster functions.
Windows binaries may be found at
http://snaps.php.net/.
To install, download php_imagick.dll to the folder specified
by your php.ini file's extension_dir directive.
Enable it by adding extension=php_imagick.dll
to your php.ini and restarting your webserver.
Linux, BSD, and other *nix variants
can be compiled using the following steps:
Either:
Run the pear installer for PECL/imagick: pecl install imagick
Copy imagick.so from the directory indicated by the
build process to the location specified in your php.ini file under
extension_dir.
Add extension=imagick.so to your php.ini
Or:
Set the path to your php.ini via:
pecl config-set php_ini /path/to/php.ini
Run the pear installer for PECL/imagick: pecl install imagick
Restart your webserver to reload your php.ini settings.
Development Versions :
There are currently no stable versions of PECL/imagick,
to force installation of the beta version of PECL/imagick
execute: pecl install imagick-beta
Compiling PECL/imagick without using the PEAR command :
Rather than using pecl install imagick to automatically
download and install PECL/imagick, you may download the tarball from
PECL.
From the root of the unpacked tarball, run:
phpize && ./configure --enable-imagick && make
to generate imagick.so.
Once built, continue the installation from step 4 above.
Des informations sur l'installation de ces extensions PECL
peuvent être trouvées dans le chapitre du manuel intitulé Installation
des extensions PECL. D'autres informations comme les notes sur les nouvelles
versions, les téléchargements, les sources des fichiers, les informations concernant les mainteneurs
ainsi qu'un CHANGELOG, peuvent être trouvées ici :
http://pecl.php.net/package/imagick.
Ces constantes sont définies par cette
extension, et ne sont disponibles que si cette extension a été compilée avec
PHP, ou bien chargée au moment de l'exécution.
imagick_level -- Adjust levels of a particular image channel by scaling the colors falling between specified white and black points to the full available quantum range
imagick_magnify -- Double-size the image using bilinear interpolation
imagick_medianfilter -- Replace each pixel by the median in a set of neighboring pixels
imagick_minify -- Half-size the image using the weighted average of a 4x4 cell