- Note, a set of unsupported instructions for hand installing ImageMagick are here: ImageMagick and imagick php module on shared hosting
ImageMagick on Dreamhost
We have ImageMagick installed on all our servers already! It's a great suite of little unix programs for letting you manipulate images in an automated fashion directly on our server! You'll need a shell account with us to use ImageMagick.
The path to ImageMagick is /usr/bin (the program usually used is actually called "convert", not imagemagick).
If you're using ImageMagick in php you have to run it as a php-cgi. All new domains at DreamHost are forced to run PHP as CGI as we no longer support mod_php, so this is no longer a concern.
Online Image Manipulation with ImageMagic
Want a quick and easy way to change your image? Visit the ImageMagick studio:
At this site, you can upload images from your computer, a disk, or even your website, and change them on ImageMagick's own interactive website --- for free!
ImageMagick with MediaWiki One-Click Installs on Dreamhost
Replace the automatically generated lines of code for ImageMagick in the LocalSettings.php with this set of lines
## To enable image uploads, make sure the
## 'images' 'images/thumbs' 'images/temp' and 'images/archive' directories
## are writable, then set these to true:
$wgEnableUploads = true;
$wgUseImageMagick = true;
$wgUseImageResize = true;
$wgTmpDirectory = true;
## And add this code for Dreamhost:
$wgMaxShellMemory = unlimited;
$wgMaxShellFileSize = unlimited;
$wgFileExtensions = 'svg';
$wgAllowTitlesInSVG = true;
This is probably overkill, but it works.
About Image Magick
ImageMagick is a free open-source program for creating and manipulating images in more than 68 formats (including GIF, JPEG, TIFF, PhotoCD, PDF, and PNG.) It runs on many popular operating systems including Linux, Unix, Windows (95/98 and 2000), MacIntosh, VMS, and OS2.
Once you have downloaded and installed ImageMagick on your computer, you can manipulate image files directly from the command line, or access the different manipulation methods through your favorite Perl, C, C++, or Java development environment.
Since ImageMagick creates images in most of the standard formats (and then some), feel free to use it to create images for your DreamHost site.
For more information about ImageMagick, go to their homepage: