Closed jmonster closed 8 years ago
@bguiz any feedback on this?
@jmonster Thanks for this - in the README, you mention that without optipng it falls back to jimp, but in the code, there's only optipng, no jimp.
Jimp came from a previous PR where we updated the node Sprite module. Or one of the modules. Whatever my other PR was 😁
Specifically: https://github.com/bguiz/broccoli-sprite/commit/96653c69b8566e493c7042ddabc643e042f8c800
And that version of node-sprite-generator has jimp
: https://github.com/selaux/node-sprite-generator#optionscompositor
However, I think I may be wrong about it being the default so I just pushed up a new commit with that language removed.
@jmonster OK I have merged this - thanks for the work!
Released:
broccoli-sprite@0.3.0
ember-sprite@0.7.0
optiping can drastically reduce the filesize of the output sprite, but at the cost of significantly slowing down the sprite generation step. For this reason, the feature defaults to disabled.
When using jimp with the
packed
layout option our sprite came out to be648kb
. With optiping enabled it was reduced to480kb
.