1Ppmtogif User Manual(0)                                Ppmtogif User Manual(0)
2
3
4

NAME

6       ppmtogif was replaced in Netpbm 10.37 (December 2006) by pamtogif(1).
7
8

SYNOPSIS

10       pamtogif is mostly backward compatible with ppmtogif.
11
12

DESCRIPTION

14       One  way  pamtogif  is not backward compatible with ppmtogif is that to
15       specify a transparency (alpha)  mask  with  ppmtogif,  you  supply  the
16       transparency  as a separate pseudo-PGM image and use the -alpha option,
17       whereas with pamtogif, you supply an input image that  has  the  trans‐
18       parency integrated into it, and there is no -alpha option.
19
20       ppmtogif still exists as a separate program for backward compatibility,
21       but it runs pamtogif to do the essential work.  The compatibility  ppm‐
22       togif interprets an -alpha option by reading the transparency image and
23       combining it with the input image, then feeding pamtogif  the  combined
24       image  it  expects.   Other  than that, the compatibility ppmtogif just
25       passes input and options directly to pamtogif.
26
27       You should not make any new use of ppmtogif and if you modify an exist‐
28       ing  use, you should upgrade to pamtogif.  But note that if you write a
29       program that might have to be used with old  Netpbm,  ppmtogif  is  the
30       only way to do that.
31
32       Unless you use the -alpha option, you can simply change the name of the
33       program.  If you use -alpha, here is how to upgrade:
34
35         $ ppmtogif -alpha=myalpha.pgm myinput.ppm >myoutput.gif
36
37       becomes
38
39         $ pamstack -tupletype=RGB_ALPHA myinput.ppm myalpha.pgm |  \
40             pamtogif >myoutput.gif
41
42
43

Original Ppmtogif

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

DOCUMENT SOURCE

67       This  manual  page was generated by the Netpbm tool 'makeman' from HTML
68       source.  The master documentation is at
69
70              http://netpbm.sourceforge.net/doc/ppmtogif.html
71
72netpbm documentation                                   Ppmtogif User Manual(0)
Impressum