1Ppmtogif User Manual(0)                                Ppmtogif User Manual(0)
2
3
4
5       ppmtogif was replaced in Netpbm 10.37 (December 2002) by pamtogif(1).
6
7       pamtogif is mostly backward compatible with ppmtogif.
8
9       One  way  pamtogif  is not backward compatible with ppmtogif is that to
10       specify a transparency (alpha)  mask  with  ppmtogif,  you  supply  the
11       transparency  as a separate pseudo-PGM image and use the -alpha option,
12       whereas with pamtogif, you supply an input image that  has  the  trans‐
13       parency integrated into it, and there is no -alpha option.
14
15       ppmtogif still exists as a separate program for backward compatibility,
16       but it runs pamtogif to do the essential work.  The compatibility  ppm‐
17       togif interprets an -alpha option by reading the transparency image and
18       combining it with the input image, then feeding pamtogif  the  combined
19       image  it  expects.   Other  than that, the compatibility ppmtogif just
20       passes input and options directly to pamtogif.
21
22       You should not make any new use of ppmtogif and if you modify an exist‐
23       ing use, you should upgrade to pamtogif.
24
25       Unless you use the -alpha option, you can simply change the name of the
26       program.  If you use -alpha, here is how to upgrade:
27
28         $ ppmtogif -alpha=myalpha.pgm myinput.ppm >myoutput.gif
29
30       becomes
31
32         $ pamstack -tupletype=RGB_ALPHA myinput.ppm myalpha.pgm |        pamtogif >myoutput.gif
33
34
35

Original Ppmtogif

37       If you are using Netpbm before 10.37, pamtogif doesn't  exist,  so  you
38       use  ppmtogif.   You can use the pamtogif manual for ppmtogif, with the
39       following exceptions.
40
41       The current documentation of pamtogif documents all  versions  of  that
42       program.  Use the information for Version 10.37 only.
43
44       ppmtogif before Netpbm 10.31 does not accept PAM input at all.
45
46       ppmtogif does not accept PAM input with transparency information in it.
47       Instead, ppmtogif has an -alpha option.
48
49       The syntax of the option is -alpha=pgmfile.  ppmtogif treats  the  con‐
50       tents of the named PGM file the same as pamtogif treats the alpha plane
51       of a PAM.  The PGM image must have the same  dimensions  as  the  input
52       file.   But unlike the PAM case, the alpha image need not have the same
53       maxval as the input.  ppmtogif interprets  the  alpha  file  using  the
54       alpha file's maxval.
55
56       You cannot specify both -transparent and -alpha.
57
58
59
60netpbm documentation                                   Ppmtogif User Manual(0)
Impressum