Home
Main website
Loading Sidebar...
Hide Ads
Recent Changes
View Source:
anytopnm(1)
Edit
PageHistory
Diff
Info
LikePages
anytopnm !!!anytopnm NAME SYNOPSIS DESCRIPTION SEE ALSO AUTHOR ---- !!NAME anytopnm - convert an arbitrary type of image file to PBM, PGM, or PPM !!SYNOPSIS __anytopnm__ [[''file''] !!DESCRIPTION __anytopnm__ converts the input image, which may be in any of dozens of graphics formats, to PBM, PGM, or PPM format, depending on that nature of the input image, and outputs it to Standard Output. To determine the format of the input, __anytopnm__ uses the __file__ program (possibly assisted by the magic numbers file fragment included with Netpbm). If that fails (very few image formats have magic numbers), __anytopnm__ looks at the filename extension. If that fails, __anytopnm__ punts. The type of the output file depends on the input image. If __file__ indicates that the input file is compressed (either via Unix compress, gzip, or bzip compression), __anytopnm__ uncompresses it and proceeds as above with the uncompressed result. If __file__ indicates that the input file is encoded by uuencode or btoa, __anytopnm__ decodes it and proceeds as above with the decoded result. If ''file'' is __-__ or not given, __anytopnm__ takes its input from Standard Input. !!SEE ALSO pnmfile(1), pnm(5), file(1) !!AUTHOR Copyright (C) 1991 by Jef Poskanzer. ----
3 pages link to
anytopnm(1)
:
pbmfilters(1)
Man1a
pnm(5)
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.