devtime

Thursday, September 03, 2009

How to resize or scale a list of images on linux

Here is a simple but powerful command when you got several images that you want to shrink:


mogrify -scale 50% *.jpg


This will reduce all the images by 50%


Or if you just want to reduce one image to 200x200 pixels for example:



convert -scale 200x200 image.jpg image_small.jpg
Posted by Carlos at 6:53 AM 2 comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Carlos Mafla Blog

  • Carlos Mafla Blog

About Me

My photo
Carlos
I am a Full Stack Web Developer. I work as a teach lead for Scalable Path. Find me on YouTube, Twitter or my Personal Blog
View my complete profile

Blog Archive

  • ►  2012 (1)
    • ►  October (1)
  • ►  2011 (7)
    • ►  November (1)
    • ►  June (2)
    • ►  May (2)
    • ►  February (2)
  • ►  2010 (1)
    • ►  August (1)
  • ▼  2009 (4)
    • ▼  September (1)
      • How to resize or scale a list of images on linux
    • ►  August (1)
    • ►  June (1)
    • ►  January (1)
  • ►  2008 (10)
    • ►  September (2)
    • ►  June (3)
    • ►  May (1)
    • ►  February (4)
  • ►  2007 (12)
    • ►  December (1)
    • ►  September (2)
    • ►  June (1)
    • ►  May (4)
    • ►  April (2)
    • ►  March (1)
    • ►  February (1)
  • ►  2006 (15)
    • ►  December (2)
    • ►  October (1)
    • ►  August (1)
    • ►  July (1)
    • ►  June (2)
    • ►  May (1)
    • ►  April (1)
    • ►  March (1)
    • ►  February (2)
    • ►  January (3)
  • ►  2005 (5)
    • ►  December (5)
Follow @gigo6000
Simple theme. Powered by Blogger.