Change JPG quality in a shell

Yeah, so I’m post­ing the dregs of what I’m learn­ing for another project here. Deal with it! I was rather proud of this lit­tle gem, not because it’s amaz­ingly com­pli­cated, but just because it saves me so much time and band­width (think down­load, process locally using GUI tools, re-upload).

mogrify -geometry 700x525\> -quality 85 -unsharp 1x1 *.JPG

YMMV with the *.JPG bit… obvi­ously will need chang­ing. This whole thing depends on ImageMag­ick being installed… but it will be on most plat­forms (By plat­forms, I mean real oper­at­ing sys­tems where you don’t need a graph­i­cal dis­play to pull these things off! *puts on seedy hard­core chain smok­ing Unix geek voice* “I do type­set­ting and print design from the con­sole, man.”), I’d imagine.

Tags: , , ,

posted on Sunday, September 25th, 2005 at 2:38 pm by Josh, filed under Geek, Visual.

Leave a Reply