JPEG Compression w/ ImageMagick (convert) thru Paperclip

So this has been bothering me for a while: 175x85 JPEG weighing in at 84kB.

But I didn’t really get off my ass and do anything serious until now that the Google PageSpeed Tool has been released: https://developers.google.com/pagespeed/

So it tells me this is complete garbage and that I can save quite literally, shit you not, 93% when recompressed losslessly.

Are you serious?

Turns out the image is nicely compressed to 2.5kB and the rest 80+ kB are wasted by embedded profiles?

convert E320BELTKIT.jpg -quality 40 rite60q.jpg
ls rite60q.jpg -la
-rw-rw-r-- 1 denis denis *84289* 2011-10-19 17:45 rite60q.jpg
convert E320BELTKIT.jpg -quality 40 -strip rite60q.jpg
ls rite60q.jpg -la
-rw-rw-r-- 1 denis denis *2467* 2011-10-19 17:45 rite60q.jpg

Reference Paperclip configuration:

has_attached_file :attachment,
              :styles => { :mini => {:geometry => '48x48#',
              :convert_options => { :mini => "-strip"}