Skip to content
This repository has been archived by the owner on Aug 21, 2019. It is now read-only.

Optimise images (52 KB reduction) #12

Closed
wants to merge 1 commit into from

Conversation

imageoptimiser
Copy link

Hi, afeld.

I've taken the liberty of putting mustachio's image assets though a range of optimisation tools. Image optimisation allows us to reduce the footprint of images - meaning faster load times at no cost to image quality. It does this by finding the best (lossless) compression parameters, stripping embedded comments, and removing unnecessary colour profiles. See more.

I found 11 optimisable images, making a 52 KB reduction in size. That's about 11.99% of your total image assets.

Merry Christmas.

NameReduction
dubya.jpeg1.63%
guy_hecker.jpeg0.45%
colonel_mustard.png48.61%
grand-handlebar.png54.13%
mustache_03.png42.75%
mustache_07.png41.42%
painters-brush.png49.05%
petite-handlebar.png53.01%
big_obama.jpeg6.60%
dubya.jpeg1.63%
small_obama.jpeg13.79%

Tools used: advpng, gifsicle, jpegoptim, jpegrescan, jpegtran, optipng, pngcrush, pngout. This is an automated bot maintained by @skattyadz

@willglynn
Copy link

Incidentally, those "unnecessary color profiles" are actually honored by some browsers (including Chrome on OSX), and the optimized versions look worse to me:
Screen Shot 2013-03-07 at 4 01 33 PM

The original image is actually in the Adobe RGB color space. Stripping the color profile causes the color values to be interpreted as sRGB, which is not correct.

@afeld
Copy link
Owner

afeld commented Mar 7, 2013

Interesting - I hadn't even looked at the diff yet. I probably won't pull this in for the sample images anyway since those are small potatoes. Reducing the mustache image file size might speed up those convert times, though. I wonder if using SVG would be even more effective.

@afeld afeld closed this Jul 8, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants