Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 1.39 KB

README.md

File metadata and controls

19 lines (16 loc) · 1.39 KB

batch-optimizer

A drag-n-drop tool to compress a folder of images in macOS.

PNGs are compressed with ImageAlpha+ImageOptim. JPGs are compressed with ImageOptim.

Installation Instructions

  1. Download ImageOptim.app and ImageAlpha.app if you don't have them already and make sure to place them in your Applications folder.
  2. If you don't already have homebrew installed, open Terminal.app and install it by copy pasting the following line and pressing return. It may take a few minutes.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  1. Install imageoptim CLI via the Terminal
brew install imageoptim-cli
  1. Download batch-optimizer droplet and put it somewhere handy (I have it in the Applications folder and saved in the dock).
  2. Drop a file, multiple files, a folder containing images, or some combination of files and folders on the droplet. All source files will be overwritten with the optimized ones.
  3. When you receive a push notification telling you your images are optimized, you're good to go! While it's processing, you'll see a spinning gear in your menubar, the ImageOptim.app will also open and close on its own, this is normal.