ryanpcmcquen / image-ultimator

:rice_scene: Make images amazing, recursively and automagically.
https://imgult.github.io
Mozilla Public License 2.0
54 stars 2 forks source link

JPG not being skipped after getting larger on Mac OS. #3

Closed ryanpcmcquen closed 9 years ago

ryanpcmcquen commented 9 years ago

Some jpeg's are not skipped by jpegoptim despite a file size increase.

ryanpcmcquen commented 9 years ago

This is actually an issue with Mac OS's antiquated Bash [version 3.2]. Upgrading bash will fix the issue.

If you use homebrew:

brew install bash
ryanpcmcquen commented 9 years ago

Actually the issue had to do with Mac OS's mozjpeg path. Fixed in 3.0.11: https://github.com/ryanpcmcquen/image-ultimator/releases/tag/3.0.11