Skip to content

Instantly share code, notes, and snippets.

View markmansour-zz's full-sized avatar

Mark Mansour markmansour-zz

View GitHub Profile
@markmansour-zz
markmansour-zz / optimize_images.rb
Created June 25, 2012 23:00 — forked from meleyal/optimize_images.rb
Simple png + jpg optimization script using optipng + jpegtran
#!/usr/bin/ruby
# Instructions
# - Install optipng + libjpeg (http://mxcl.github.com/homebrew/)
# - Put this file in a directory of images
# - Open in TextMate + run it (cmd+r)
# Config