Sha256: 0ebdf3298f2e4665421a82548514bee99442ba9f4be6aa1317a7a480e5d95ae9
Contents?: true
Size: 1.48 KB
Versions: 3
Compression:
Stored size: 1.48 KB
Contents
Problem ======= - Images are too large because they are not optimized - Users & your bandwidth is wasted for useless metadata - local image optimization requires tons of programs / libaries / knowledge Solution ======== - *LOSSLESS* size reduction (10-97% size reduction) in the cloud - optmizes all images(jpg+png) from a given folder Install ======= install ruby + rubygems + curl sudo gem install grosser-smusher --source http://gems.github.com/ Usage ===== smusher /apps/x/public/images # optimize all jpg/png images, NOT gifs smusher /apps/x/public/images/x.png # optimize a single image smusher /apps/x/public/images/x.gif # !!optimize to smaller png, rename it yourself!! Protection ========== Smusher makes .backup copies of any image before optimizing. Any image that returns a failure code, is larger than before, or is empty will be reverted. Example ====== smusher /apps/ts/public/images sushing /apps/rs/public/images/social/facebook_icon.png 2887 -> 132 = 4% sushing /apps/rs/public/images/social/myspace_icon.png 3136 -> 282 = 8% sushing /apps/rs/public/images/dvd/dvd_1.png 5045 -> 4 = 0% reverted! ... TODO ==== - use rest-client rather than curl - windows support? Author ====== Michael Grosser grosser.michael@gmail.com Hereby placed under public domain, do what you want, just do not hold me accountable...
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
grosser-smusher-0.3.1 | README.markdown |
grosser-smusher-0.3.2 | README.markdown |
grosser-smusher-0.3 | README.markdown |