Apache Sanselan is a pure Java image library for reading, writing, and extracting metadata from various image formats such as PNG, GIF, TIFF, BMP, and PNM. It was initiated in 2004, has a stable code base, and is used by several projects. Sanselan provides a simple but powerful API and allows working with image data from byte arrays and input streams without being tied to files.