Image Magick

From DreamHost
Jump to: navigation, search

Overview

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, Macintosh, VMS, and OS2. 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.

For more information about ImageMagick, view the official homepage:

ImageMagick on Dreamhost

ImageMagick is preinstalled on DreamHost servers. You can access it via SSH in the following directory:

/usr/bin/convert

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's One-Click Install 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;

If you would like more information on configuring uploads, please view the following links:

See also