Command Line Image Shrinker (shrinkimage)

mario_hit-and-shrink

One of the most tedious things I seem to do on a regular basis, for both blogging and developing, is downloading an image off of Google Image Search and shrinking it. Having to do a scale a lot of images to a similar size can become really annoying. I ended up writing a command line tool to shrink an image given a percent or a maximum dimension. Probably won’t be useful for many, but who knows!

Grab shrinkimage off of GitHub.

6 comments:

Amber said...

convert scale 50% test.jpg smaller.gif

convert resample 50% test.jpg lowres.jpg

mogrify resize 300x200 fixed.png


etc. etc. also allows to reduce colors, posterize, optimize, normalize, watermark etc. etc.

what's new? imagemagick, one word

plastiswafer said...

grats on the advertisement spam comments.. so i heard this hilarious joke from my brother, something about a change in your personal status and you want to play wow again. please take my account. thx

Koush said...

lol brandon, i'll never play that crap again

emil said...

you will and you will like it

Anonymous said...

If you use any Linux with the Gnome desktop, you should be able to use the nautilus-image-converter plugin so right-clicking on a group of images will let you resize/ rotate in one operation.

plastiswafer said...

i need a huge favor.. follow www.twitter.com/pizza321 please thank you very much