Command Line Image Shrinker (shrinkimage)


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.


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

OneShare said...

nice blog & very informative, i'm bookmarking this blog & visiting again for updates.

please check mine too : FREE Comics Download

Brandon 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

Brandon said...

i hoped it wasn't true, but in the deeply depressing event of the clockwork apocalypse, i would extend my account to you as a gift

ps yep that shit sucks

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.

Brandon said...

i need a huge favor.. follow please thank you very much