Chris Nizzardini, Salt Lake City Utah, Web Developer Specializing in LAMP+Ajax Since 2006

My Blog

Here is my awesome blog.

resize images from linux command line w/ imagemagick

In debian execute this shell command apt-get install imagemagick

Now to resize images execute convert -size 125×125 /path/to/image.jpg -resize 125×125 /path/to/image.jpg

Ofcourse you can do this in php by executing the shell command using the exec() function.

Leave a Reply