tif22pnm is a commandline utility that converts TIFF- sampled images to PNM images, using the libtiff library, but not using NetPBM. It is similar to tifftopnm utility in the NetPBM distribution, but handles a wider range of TIFF files and is able to output the alpha channel as a PBM or PGM file.