History of ImageMagick

The official API from the ImageMagick project is called MagicWand. This program interface is highly capable and well supported.

For developers, we have the [/doc/magickwand/index.html|MagickWand API documentation available].

!!MagicWand on Unix
Currently there is now RPM distro for the magickwand API. However, the good news is that it is very easy to compile.
#Install php and the php-devel packages.
#Download the source from [http://www.magickwand.org/download/php/]
#Unzip tarball, and change into directory
#Type "phpize"
#Type "autoconf"
#Type "./configure"
#Type "make"
#You should end up with the file modules/magicwand.so and copy that to /usr/lib/php4/ or /usr/lib/php/modules (for php5).
#You *must* (at least on my system) add the line in your php.ini "extension=magickwand.so
# restart apache, and hit kernel/admin/phpinfo.php to make sure you have it installed and running.

!!MagicWand on UNIX w/ PHP src-build
if you're installing MagickWand-PHP into a PHP src build, the instructions are just a little different ...

given an *existing* php install (you're gonna need the 'phpize' bin ...)

// DL & unpack latest magickwand-php
cd /tmp
wget http://www.magickwand.org/download/php/magickwand-0.1.8.tar.gz
gnutar zxvf magickwand-0.1.8.tar.gz

// install into php source tree
mv magickwand/ /path/to/php-src/ext/

// find your existing ImageMagick install
which Wand-config

// prep the magickwand extension for php build
cd /path/to/php-src/ext/magickwand

// rebuild PHP with magickwand extension
cd /path/to/php-src
rm ./configure
make distclean
./buildconf --force

./configure \
... (as before) ... \
make install

// check your install ...
php -i | grep "MagickWand Backend Library"
MagickWand Backend Library => ImageMagick
php -i | grep "MagickWand Extension Version"
MagickWand Extension Version => 0.1.8

note that in a src-build, there is no standalone magickwand.so created ... rather it's "in" libphp5.so:

otool -L /usr/local/apache2/libexec/libphp5.so | grep libMagick
/usr/local/lib/libMagick.10.dylib (compatibility version 11.0.0, current version 11.1.0)

nonetheless, you'll still need to add to your php.ini:


and restart apache.

!!MagicWand on Windows
# Download php-|PHP_V|_magickwand_q8_st.dll from [ftp://ftp.imagemagick.org/pub/ImageMagick/php/] (5.0.4 works fine in PHP5.0.5)
# Add extension="php-|PHP_V|_magickwand_q8_st.dll" to your php.ini file
# Restart Apache
# Here are [http://studio.imagemagick.org/magick/viewtopic.php?t=4708|detailed instructions for windows]

php-imagick was a 3rd party interface to the ImageMagick code libraries. It has not been well supported, and Windows support is very sketcky at best. The API support is also incomplete in areas. We highly recommend MagickWand instead for these reasons.

!!ImageMagick for Unix

!!ImageMagick for OSX

An elegantly simple way to get ImageMagick etc installed on OSX is to use the TeXShop installer ...
cref: http://darkwing.uoregon.edu/~koch/texshop/index.html

fwiw, i use the installer to install/maintain:

# Freetype2
# libwmf
# Ghostscript 8
# JPEG Tools & Library
# ImageMagick
# FontForge
# TeX (Basic Installation, 2004 Stable)

for MagickWand-PHP to build successfully you'll need to install, of course 'ImageMagick', as well as the libjasper jpeg libs (cref: http://www.ece.uvic.ca/~mdadams/jasper/) provided by the 'JPEG Tools & Library' install, above.

!!ImageMagick for PHP5 on Windows

Install version 5.5.7 of ImageMagic ( same applies for PHP4 )
The Q16 versions provide 48/64 bit resolution(16 bits per pixel), while the Q8 versions provide 24/32 bit (8 bit per pixel). The Q8 is probably more than adaquate for bitweaver.

Get php_imagick.dll from the matching PECL distribution for your version of PHP5

4.3.x distributions do not have this file
but the http://php.chregu.tv/php_imagick.dll link should work with PHP4

Just for the record
Always has the latest build for the current development version of PHP5.1
Page History
14 Jun 2007 (07:43 UTC)
Lester Caine81.138.11.13619
Current • Source
Lester Caine81.138.11.13618
View • Compare • Difference • Source
View • Compare • Difference • Source
View • Compare • Difference • Source
View • Compare • Difference • Source
View • Compare • Difference • Source
View • Compare • Difference • Source
View • Compare • Difference • Source
View • Compare • Difference • Source
Lester Caine81.138.11.13610
View • Compare • Difference • Source
Lester Caine81.138.11.1369
View • Compare • Difference • Source
View • Compare • Difference • Source
Lester Caine81.138.11.1364
View • Compare • Difference • Source
Lester Caine81.138.11.1363
View • Compare • Difference • Source
Lester Caine81.138.11.1362
View • Compare • Difference • Source
Lester Caine81.138.11.1361
View • Compare • Difference • Source