Can I use ImageMagick?
ImageMagick is available and you'll find all the executable programs in:
/usr/bin/
ImageMagick is regularly updated to the current version.
User-Contributed Notes
 |
| 13-Apr-2002 15:27 |
You can see the ImageMagick version by telneting or ssh'ing into the
server and typing this at the shell prompt:
/usr/X11R6/bin/convert | head -n 1
You should see output like:
Version: @(#)ImageMagick 5.4.5 05/01/02 Q:16
http://www.imagemagick.org
|
|
| 04-Jun-2002 17:32 |
If you call these things like:
exec("/usr/X11R6/bin/mogrify file1 file2", $result);
Then you can check $result to see what happened like this:
while(list($k, $v) = each($result)) {
echo "$k: $v <br>\n";
}
|
|
| 23-May-2006 16:25 |
To use ImageMagick go to
http://www.cit.gu.edu.au/~anthony/graphics/imagick6/ and go through the
examples there. First become familiar with executing commands through
the shell prompt.
convert htdocs/www/test/1.jpg -thumbnail 90x90
/htdocs/www/test/1_tn.jpg
(converts 1.jpg into a thumbnail named 1_tn.jpg confined to 90x90)
To call any ImageMagick command in your PHP scripts:
exec("/usr/bin/convert /htdocs/www/test/2.jpg -thumbnail 90x90
/htdocs/www/test/1_tn.jpg", $result);
|
|
 |
Related Questions:
What version of GD lib do you support?
Do you have True Type fonts?
What version of Ghostscript is available?
Browse Categories:Getting Started, FTP, Telnet/SSH, Moving Domains, E-mail, Traffic Reports, Mailing Lists, Apache, PHP, CGI, Other Server-Side Scripting, MySQL Database, Imaging Libraries, Other Software, Billing & Terms, Control Panel, E-commerce, Pre-Sales |