Convert images for web using the Sips command line on MacOSX - Blog - TLBX
We will see how to convert a folder of images to make them safe for web using the Mac OSX command line tool Sips. First in a shell script and then an Applescript version if you want to share this functionality with less technical users.
tlbx.app