Generate simulated camera bokeh, depth of field, 2D convolutions, and other effects. Reads arrays and matrices as well as 'JPEG', 'PNG', 'TIFF', 'TGA', 'BMP', 'PSD', 'GIF', 'HDR', 'PIC', 'PNM', and 'EXR' files. Includes functions for color correction, colorspace conversion, resizing, image and text overlays, exposure, vignetting, and image titles.
Leptonica is an open source library containing software that is broadly useful for image processing and image analysis applications. The official github repository for Leptonica is: danbloomberg/leptonica. See leptonica.org for more documentation.