Thursday, October 23, 2008

anytopnm

anytopnm—Attempt to convert an unknown type of image file to a portable anymap

SYNOPSIS
anytopnm file


DESCRIPTION
anytopnm uses the file program, possibly augmented by the magic numbers file included with PBMPLUS, to try to figure out
what type of image file it is. If that fails (very few image formats have magic numbers), looks at the filename extension. If
that fails, punt.
The type of the output file depends on the input file.

BUGS
It’s a script. Scripts are not portable to non-UNIX environments.