Penguin
Annotated edit history of anytopnm(1) version 1, including all changes. View license author blame.
Rev Author # Line
1 perry 1 anytopnm
2 !!!anytopnm
3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 SEE ALSO
7 AUTHOR
8 ----
9 !!NAME
10
11
12 anytopnm - convert an arbitrary type of image file to PBM, PGM, or PPM
13 !!SYNOPSIS
14
15
16 __anytopnm__ [[''file'']
17 !!DESCRIPTION
18
19
20 __anytopnm__ converts the input image, which may be in
21 any of dozens of graphics formats, to PBM, PGM, or PPM
22 format, depending on that nature of the input image, and
23 outputs it to Standard Output.
24
25
26 To determine the format of the input, __anytopnm__ uses
27 the __file__ program (possibly assisted by the magic
28 numbers file fragment included with Netpbm). If that fails
29 (very few image formats have magic numbers), __anytopnm__
30 looks at the filename extension. If that fails,
31 __anytopnm__ punts.
32
33
34 The type of the output file depends on the input
35 image.
36
37
38 If __file__ indicates that the input file is compressed
39 (either via Unix compress, gzip, or bzip compression),
40 __anytopnm__ uncompresses it and proceeds as above with
41 the uncompressed result.
42
43
44 If __file__ indicates that the input file is encoded by
45 uuencode or btoa, __anytopnm__ decodes it and proceeds as
46 above with the decoded result.
47
48
49 If ''file'' is __-__ or not given, __anytopnm__
50 takes its input from Standard Input.
51 !!SEE ALSO
52
53
54 pnmfile(1), pnm(5),
55 file(1)
56 !!AUTHOR
57
58
59 Copyright (C) 1991 by Jef Poskanzer.
60 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.