SEO, PHP and Javascript Web Dev

Search Engine Optimisation, Web Development and Network Administration Ramblings

-->
04 2008

Tip of the Week : Resize images in Ubuntu

Looking around for an easy way to resize my images ready for uploading to facebook. Sure, you can use gimp batch processes, but that looks like an awful lot of work.

You could install Davids batch processor for Gimp.

OR, you could do it the truly easy way with a single command:

mogrify -resize 600 *.JPG

Now that is handy, simply copy a few of the images that you want to upload to a dir, cd to that directory and run mogrify. Cool name for command too I think, even though it doesn’t really mean anything to me.

One other thing, the above is resizing to 600 wide, mogrify will automatically maintain the aspect ratio of the image.

Share this Post:
  • Reddit
  • Sphinn
  • del.icio.us
  • Digg
  • e-mail
  • Mixx
  • Google
  • StumbleUpon

Related posts:

  1. Using NTFS Resize
  2. Tip of the Week : Nested Ternary Statement PHP
  3. Pinging [oy] with 32 bytes of data:

Tags: image, Linux, tip
« Tip of the Week : Carriage Returns in PHP Plain Text Emails
Tip of the Week : Javascript Dom Quirk In IE using getElementById »

Leave a Reply

-->
  • Photography