GFXprim is a modular 2D bitmap graphics library. The library is organized into modules, each of which implements different functionality. The library core is the glue that holds everything together by implementing pixel manipulations, conversions, and blits. Loaders implements an interface to load and save images from/to various image formats. All commonly used formats are supported (JPEG, PNG, GIF, BMP, TIFF, PNM, etc.). Filters implements bitmap filters such as resize, convolutions, point filters (brightness, contrast, etc.), rotations, edge sharpening, ditherings, median, etc. Backends can create X11 window(s), draw on the Linux framebuffer, handle input events, timers and more.
Gfx implements basic graphics primitives such as lines, circles, polygons, etc. Text module implements text drawing with both compiled-in fonts and basic support for FreeType rendering. Grabbers can get frames from V4L2 devices, such as Web cameras.
All of this comes with Python bindings and comprehensive documentation.