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

My Blog

Here is my awesome blog. You can find information on programming, linux, documentation, tips for code and database optimization, my thoughts and rants, and whatever else I feel like sharing. Feel free to contribute to the blog by posting comments and asking questions.
Linux

Resize Images From Linux Shell using imagemagick

After installing imagemagick you can resize images:

convert -size 125x125 /path/to/image.jpg -resize 125x125 /path/to/image.jpg

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

Related posts:

  1. php/linux – performing an http post the easy way
  2. linux using the cat command to append files together
  3. linux i discovered umask and sgid for default file/directory permissions
  4. CronJobs – Creating CronJobs with Crontab in Linux
  5. a backup system – for the poor and lazy

Tags: , ,

Leave a Reply