Skip to Content
High Performance Images
book

High Performance Images

by Colin Bendell, Tim Kadlec, Yoav Weiss, Guy Podjarny, Nick Doyle, Mike McCall
November 2016
Intermediate to advanced
354 pages
8h 39m
English
O'Reilly Media, Inc.
Content preview from High Performance Images

Appendix B. Common Tools

In Chapter 14 and others, you’ve read a lot about ImageMagick and some of the tools in the ecosystem. It’s worth taking some time to investigate other utilities that, if perhaps not quite ready for a large-scale image workflow due to their interface (GUI) or performance (slow), could still prove useful. Since tastes vary, it’s not unusual for two tools to provide similar functionality but with slightly different results, so try a few to see which one suits you best!

PNG Utilities

PNG is one of the formats that gets a lot of optimization attention. There are a few reasons for this. First, since it’s a lossless format, there aren’t a lot of dials you can tweak to sacrifice a bit of quality at the expense of fewer bytes. Second, it’s a relatively straightforward format in terms of implementation, and has a number of parts of its binary format that aren’t necessary for rendering the image. Lastly, PNG uses DEFLATE compression for its pixel data, and there have been a couple of attempts to improve it over the years.

pngcrush

One of the more well-known PNG optimizers, pngcrush attempts to reduce the size of PNGs by trying a number of different filtering and compression methods, as well as removing unneeded metadata.

OptiPNG

Similar to pngcrush in terms of methodology, OptiPNG has some performance benefits over its predecessor in that the trials used during filtering and compressing are performed in-memory.

pngquant

A “lossy” PNG optimizer, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Optimizing images

Optimizing images

Lara Callender Hogan
What Employees Want Most in Uncertain Times

What Employees Want Most in Uncertain Times

Kristine W. Powers, Jessica B.B. Diaz
Responsive & Fast

Responsive & Fast

Guy Podjarny
Image Processing and Acquisition using Python, 2nd Edition

Image Processing and Acquisition using Python, 2nd Edition

Ravishankar Chityala, Sridevi Pudipeddi

Publisher Resources

ISBN: 9781491925799Errata Page