Manuál PHP | ||
---|---|---|
Předcházející | Další |
Image magick extension lets you create and manipulate images. Its function is similar to Image extension but provides more powerful and faster functions.
To use this extension, either "ImageMagick" or "GraphicsMagick" library is required.
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 web server.
extension_dir=c:/php5/exts/ extension=php_imagick.dll |
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 web server 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.
Informace o instalaci tohoto PECL rozšíření lze najít v kapitole manuálu nazvané Instalace rozšíření PECL. Další informace, jako nové verze, soubory ke stažení, zdrojové soubory, správcovské informace a CHANGELOG, lze najít zde: http://pecl.php.net/package/imagick.
This extension uses the "imagemagick handle" resource.
Tyto konstanty jsou definovány tímto rozšířením a budou k dispozici pouze tehdy, bylo-li rozšíření zkompilováno společně s PHP nebo dynamicky zavedeno za běhu.
Předcházející | Domů | Další |
png2wbmp | Nahoru | imagick_begindraw |