davioliveiraweb / spriteme

Automatically exported from code.google.com/p/spriteme
0 stars 0 forks source link

filesize savings calculation error #31

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I created a sprite at ebay.com, and the SpriteMe GUI reported:

BG Images from 25 to 16, saving 9 requests;
size from 23K to 1K, saving 22K.

I then clicked on 'share results', and the Savings page incorrectly reports
a file savings of -5K

Similarly, created a sprite at wordpress.com, and SpriteMe GUI reported

BG Images from 15 to 13,
size from 414 to 90 (savings of 324K).

The savings page shows savings of 109K.

The number of requests saved *is* reported correctly.
.

Original issue reported on code.google.com by jaredhir...@yahoo.com on 6 Sep 2009 at 1:07

GoogleCodeExporter commented 9 years ago
I'm not aware what the specific bug was, but I completely rewrote that code for 
other
reasons and tested these sites and they work now.

Original comment by stevesou...@gmail.com on 9 Sep 2009 at 6:21