GSoC/GCI Archive
Google Summer of Code 2011

OpenImageIO

Web Page: https://github.com/OpenImageIO/oiio/wiki/GSoC-Idea-Page

Mailing List: http://lists.openimageio.org

OpenImageIO is a library for reading and writing images, and a bunch of related classes, utilities, and applications. Main features include:

  • Extremely simple but powerful ImageInput and ImageOutput APIs for reading and writing 2D images that is format agnostic -- that is, a "client app" doesn't need to know the details about any particular image file formats. Specific formats are implemented by DLL/DSO plugins.
  • Format plugins for TIFF, JPEG/JFIF, OpenEXR, PNG, HDR/RGBE, Targa, JPEG-2000, DPX, Cineon, FITS, BMP, ICO, RMan Zfile, Softimage PIC, DDS, SGI, PNM/PPM/PGM/PBM, Field3d. More coming! The plugins are really good at understanding all the strange corners of the image formats, and are very careful about preserving image metadata (including Exif, GPS, and IPTC data).
  • An ImageCache class that transparently manages a cache so that it can access truly vast amounts of image data (thousands of image files totaling hundreds of GB) very efficiently using only a tiny amount (tens of megabytes at most) of runtime memory. Additionally, a TextureSystem class provides filtered MIP-map texture lookups, atop the nice caching behavior of ImageCache.
  • Several image tools based on these classes, including iinfo (print detailed info about images), iconvert (convert among formats, data types, or modify metadata), idiff (compare images),igrep (search images for matching metadata). Because these tools are based on ImageInput/ImageOutput, they work with any image formats for which ImageIO plugins are available.
  • A really nice image viewer, iv, also based on OpenImageIO classes (and so will work with any formats for which plugins are available).
  • Supported on Linux, OS X, and Windows.
  • All available under the BSD license, so you may modify it and use it in both open source or proprietary apps.

Projects

  • Adding a set of image transformation algorithms Adding a collection of image transformation algorithms. In particular: arbitrary rotation, shear mapping (transvection), translation, reflection and Thin Plate Spline.
  • OIIO: File format plugins For an image handling library the support for a wide array of formats is key. While OpenImageIO already has an impressive spectrum of available plug-ins, it still lacks the support for several popular formats. This project aims to fill the gaps in the list of supported formats, starting out with finishing the already half-baked Cineon, then moving on to Adobe DNG and finally sorting out the unfinished DDS plugin.
  • PSD/PSB and WebP file format support I would like to add support for PSD/PSB and WebP image formats to oiio. PSD and PSB are, of course, very popular and their support would greatly benefit the users of oiio. WebP is still in its infancy but may become a popular image format in the future.