In order to read/write pbm (Portable BitMap), pgm (Portable GrayMap), ppm (Portable PixMap) files with the java imageio classes we need an ImageWriterSpi, ImageWriter, ImageReaderSpi and ImageReader. Additional to that we need to tell the java imageio system that we have a new ImageWriterSpi and ImageReaderSpi for it. To do this you need to put the file javax.imageio.spi.ImageReaderSpi, javax.imageio.spi.ImageWriterSpi into the folder {$your java programs root directory}/META-INF/services/ or if those files already exist, add the lines uk.co.mmscomputing.imageio.ppm.PPMImageReaderSpi and uk.co.mmscomputing.imageio.ppm.PPMImageWriterSpi accordingly.
These classes can only handle the 'raw' version (P4,P5,P6). They cannot read or write the ASCII formats P1, P2 and P3.
- uk.co.mmscomputing.application.imageviewer:
A simple Multi Page Image Viewer Applet. To view multipage *.sff, *.tiff and *.gif files. Twain and SANE test application. - uk.co.mmscomputing.imageio.bmp:
Classes that enable the java imageio system to read and write *.bmp files. - uk.co.mmscomputing.imageio.sff:
Classes that enable the java imageio system to read and write *.sff (structured fax format) files.