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

NAME

6       ppmtogif - replaced by pamtogif
7
8       This program is part of Netpbm(1).
9
10       ppmtogif was replaced in Netpbm 10.37 (December 2006) by pamtogif(1).
11
12

SYNOPSIS

14       pamtogif is mostly backward compatible with ppmtogif.
15
16

DESCRIPTION

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

Original Ppmtogif

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

DOCUMENT SOURCE

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