Mirror of Apache Commons Imaging
Java Other
Latest commit 1d68e1d Feb 9, 2017 Damjan Jovanovic Add support for writing 4 color PCX images, and clean up and simplify
the writing code.

Patch by: me

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/imaging/trunk@1782282 13f79535-47bb-0310-9956-ffa450edef68


Apache Commons Imaging

Build Status License

Apache Commons Imaging (previously Sanselan) is a pure-Java image library.


More information can be found on the homepage. The JavaDoc can be browsed. Questions related to the usage of Apache Commons Imaging should be posted to the user mailing list.

Where can I get the latest release?

There is currently no stable release of Imaging. However you can pull the latest SNAPSHOT from the Apache snapshot repository by adding the snapshot repository to your pom.xml:

  <name>Apache Development Snapshot Repository</name>

Then you can use the SNAPSHOT version of Commons Imaging in your pom.xml:


The last stable release of Sanselan, before it was renamed to Imaging, was 0.97. You may:

  • Download source and binaries from our download page.
  • Pull it from the central Maven repositories:

Note that Commons Imaging and Commons Sanselan are neither binary nor source compatible.


We accept PRs via github. The developer mailing list is the main channel of communication for contributors. There are some guidelines which will make applying PRs easier for us:

  • No tabs! Please use spaces for indentation.
  • Respect the code style.
  • Create minimal diffs - disable on save actions like reformat source code or organize imports. If you feel the source code should be reformatted create a separate PR for this change.
  • Provide JUnit tests for your changes and make sure your changes don't break any existing tests by running mvn clean test.

If you plan to contribute on a regular basis, please consider filing a contributor license agreement. You can learn more about contributing via GitHub in our contribution guidelines.


Code is under the Apache Licence v2.


You like Apache Commons Imaging? Then donate back to the ASF to support the development.

Additional Resources