optimizing images with lossless compression

See: https://github.com/GigaOM/gigaom/issues/5640
Merge pull request #38 from zbtirrell/image-optim

optimizing images with lossless compression