Compressor.io – Compress and optimize your images
compressor.io
compressor.io
optipng -o 3 foobar.png
Also, MediaCrush does the same thing transparently+losslessly when you upload a number of files, and it's open source. https://github.com/MediaCrush/MediaCrushEdit: Just tested with another image, same result.
https://developers.google.com/speed/pagespeed/module
(Disclaimer: I work on this.)
Also how does it compare to other tools such as ImageAlpha http://pngmini.com ?
optipng in.png -o 5 -strip all -out temp.png
pngout -f6 -kp -ks temp.png out.png
For jpegs, use jpegrescan. jpegrescan -s -t in.jpg out.jpgI have an image that imageoptim brought down to 149kb. I ran THAT already compressed image through compressor.io and it brought it down to 51kb. Whoa. Very very minimal degradation in some of the image drop shadows but not enough to care based on that file size
The advantage of the mod_pagespeed approach is that you can keep hi-res images in your web page and not have to be concerned with manually compressing things.
jpegtran -optimize -progressive -scans scan_table.txt image.jpg > image_optimized.jpgEDIT:
Compressor.io (lossless): Before 4.72 MB | After 4.72 MB
Compressor.io (lossy): Before 4.72 MB | After 1.27 MB
JpegMini (lossless): Before: 4.72 MB | After 1.3 MB
Test image: http://imgur.com/gbOCJxX
Image1 reduction: Compressor.io 28.67% | JpegMini 34.35%
Image2 reduction: Compressor.io 69.55% | JpegMini 55.41%
If I had to choose, I'd say the visual quality of JpegMini is fractionally better, but it's hardly perceptible to my eye - they both produce incredible results.
We invest very heavily with dedicated infrastructure (dual-CPU hexacores) and provide unparalleled optimization and compression for both lossy and lossless options. We have a serious API and bulk upload and download options. Build-in CDN (SSD-based) integration is coming within a few weeks.
It does not matter that this functionality is trivially available to anyone with a CLI. There are tons of people who do not know what a CLI is and would not know what to do with it if they found one. Sticking a nice UI on a utility is a worthy innovation. I can imagine lots of web designers or non-technical people with blogs would find this very useful.
Having more options to compress your images is a good thing. The fact that other services that accomplish similar things exist does not disqualify you from launching a service. How many Chinese restaurants are in your neighborhood?
Let us choose to be on the side of the builder. It is hard enough to create stuff without having to deal with the snark from bystanders in the peanut gallery.
@wouwi: what's the tool used for JPEGs?
Instead of compressing a single file at a time, or using a CLI / api, you can get one-click optimization for all of the images in your repo.
I'm hoping to add automatic image optimization when new images are committed at some point, but it's a side project, so a little slow going.
> Jabatus EX503 - Voir http://www.jabatus.fr
Is it hacked or what?
+ I just compressed JPG which I previously saved for web with Photoshop. No loss of quality, 18% smaller filesize.
So far all I got is https://github.com/emrekutlu/paperclip-compression (jpegtran + optipng).
Edit: Pretty please :)
The thing I like about ImageOptim is that it runs multiple strategies (for PNG and JPEG at least) and picks the best one. Plus its ease of use for one-off compressions can't be beat.
I picked a spot and zoomed in where it's easiest to see the artifacts.
http://i.imgur.com/Sf72oZq.png
If anything, I'd say the Photoshop one is better than Compressor.
Jabatus EX503 - Voir www.jabatus.fr
And the lossy one is bad.
Compression seems pretty good with very minimal degredation
Its Weismann score sucks, nothing like PP.