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 web server.
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.
Zusätzliche Informationen, wie neue Releases, Downloads
Quelldateien, Maintainerinformation und ein CHANGELOG finden Sie hier:
http://pecl.php.net/package/imagick.
Folgende Konstanten werden von dieser
Erweiterung definiert und stehen nur zur Verfügung, wenn die Erweiterung entweder
statisch in PHP kompiliert oder dynamisch zur Laufzeit geladen wurde.
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
Dieses Tutorial beschreibt sehr gut die Wirkunsweise von objektorientiertes Programmieren. Also bestens geeignet um das objektorientierte Programmieren zu verstehen.
In mehreren Tutorials wird der Zugriff auf Facebook Daten mittels Graph API, FQL und REST API erklärt. Alle Codebeispiele liegen zum Ausprobieren in einem SVN, bzw. github Repository bereit.