When you use default pngcrush, it tries a few “best guesses” and then returns the best reduction. Since images can vary wildly in content, there’s no single magic reduction algorithm that is always guaranteed to give you the largest size savings. To make sure, we then used the “nuclear” option in pngrush, also known as -brute. Was there a bug in our report? Did we miss something? The Nuclear Option A far cry from the advertised 110 kb savings in the Zoompf report!Ĭlearly something was up, so we then used our favorite command line tool: pngcrush, running with the default options:ġ2.3 seconds later, the optimized image was only reduced to 280 kb (0.9%), worse even than ! A quick upload to yielded a pretty unimpressive reduction of 4.3 kb down to 278 kb. The original size of the image was 283 kb. So the image in original question was a PNG image used as a red gradient in the background. If not, click on our help article right now for some pretty pictures, then come right on back. To start our journey, I am first making the assumption you are familiar with, at least at a high level, the concept of lossless image reduction (reducing the size of your image with NO loss in visual quality). Okay, I maybe added the “awesome” parts, but I’m still pretty sure it was from Batman. How can I get that same level of savings shown in your report? I’ve tried a number of tools like and pngcrush, but at best I could only save a few kilobytes. One question, though – it said I could reduce the size of my image “red.png” from 283 kb to 173 kb using a lossless image reducing tool. Your free report is awesome!…Awesome! Awesome! Awesome! To begin, let me paraphrase the original question, with only slight embellishment protect the identities of the innocent…and help us feel better about ourselves: ![]() After some detective work, we uncovered a little known, yet extremely effective tactic for lossless PNG reduction that you very likely aren’t using (but should). The other day, however, we received one question that left us scratching our heads. From flickr, shared under Creative Commons 2.0Īt Zoompf we routinely get asked questions about the best way to optimize images for performance.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |