NeXT 2-bit RLE

NeXT 2-bit RLE is an image compression scheme that can be used in TIFF files, using TIFF compression code 32766. It uses a pixel-oriented run-length encoding to compress 4-level grayscale images.

It is extremely rare at best, and we have not located much information about it. Everything we know about it comes from libtiff.

Format
The information here is derived from libtiff's decoder, and may be wrong or incomplete.

Each row of the image uses one of three formats, as indicated by the first byte of encoded data corresponding to that row:

Software

 * libtiff