Why use Sanselan?

  • This library is Free Software/Open Source. It is available under the Apache Software License.
  • Sanselan is pure-Java. It will run on any jvm, on any platform without modification. It has no dependencies. Sanselan only requires Java 1.4 or later.
  • Sanselan is easy to use. It has a simple, clean interface. Most operations are a single Sanselan method call. See our Sample Code for examples.
  • The core functionality is reading and writing a variety of image formats. See the list of Supported Formats.
  • Sanselan supports a number of format variations and uncommon features not supported by other image libraries.
  • Sanselan does more than read and write images. Reading image info (image size, colorspace, bit depth, etc.) and metadata is easy and does not require reading the entire image.
  • Sanselan supports reading and writing a variety of metadata in a structured way, including EXIF metadata.
  • Sanselan provides a consistent api across a variety of image formats.
  • Sanselan is network-aware. Sanselan will only read the data it needs. Reading most image info and metadata only requires reading a header.
  • Sanselan was written with an eye to correctness and code clarity rather than efficiency.
  • Sanselan can extract and (simply) parse embedded ICC Profiles. Moreover, Sanselan applies the icc profile by default, coverting read images to sRGB. This means images are color-corrected by default. see: http://en.wikipedia.org/wiki/International_Color_Consortium, http://en.wikipedia.org/wiki/SRGB
  • Sanselan is actively maintained.