For reasons unknown, we’ve decided to release a Java class for working with PCX images. It’s a rather simple image format without animation that supports both palette based (8-bit / 256-color) and true-color (24-bit) images. We provide both read and write support for uncompressed and RLE encodings. There wern’t any real existing solutions, and even what was in other free software that implemented PCX either wasn’t available Java, vastly incomplete, or poorly written to begin with.
You can get the source code at the JPCX project page.