May 2018
Intermediate to advanced
328 pages
8h 15m
English
The most feature-rich library for working with PNG files is libpng, a platform-independent, open source library written in C. There are also C++ libraries, some of which are wrappers for libpng, such as png++, lodepng, or PNGWriter. For the problems in this book, we will use the last one, PNGWriter. It is an open source library that works on Linux, Unix, macOS, and Windows. Its supported features include opening existing PNG images; plotting and reading pixels in the RGB, HSV, and CMYK color spaces; basic shapes; scaling; bilinear interpolation; full TrueType antialiased and rotated text support; and Bezier curves. It is a wrapper for libpng and also requires the FreeType2 library for text ...
Read now
Unlock full access