commands.sh

pamtogif

all

Convert a Netpbm image into an unanimated GIF image. See also: `giftopnm`, `gifsicle`.

More info →

Options (2)

-tboolean

Mark the specified color as transparent in the output GIF file

Example: pamtogif {{[-t|-transparent]}} {{color}} {{path/to/image.pam}} > {{path/to/output.gif}}
-cboolean

Include the specified text as a comment in the output GIF file

Example: pamtogif {{[-c|-comment]}} "{{Hello World!}}" {{path/to/image.pam}} > {{path/to/output.gif}}

Examples (3)

Convert a Netpbm image into an unanimated GIF image

pamtogif path/to/image.pam > path/to/output.gif

Mark the specified color as transparent in the output GIF file

pamtogif [-t|-transparent] color path/to/image.pam > path/to/output.gif

Include the specified text as a comment in the output GIF file

pamtogif [-c|-comment] "Hello World!" path/to/image.pam > path/to/output.gif
made by @shridhargupta | data from tldr-pages