HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

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

Submitted by: @import:tldr-pages··
0
Viewed 0 times
pamtogifcommandconvertclinetpbmimageintounanimated

Problem

How to use the pamtogif command: Convert a Netpbm image into an unanimated GIF image. See also: giftopnm, gifsicle. More information: <https://netpbm.sourceforge.net/doc/pamtogif.html>.

Solution

pamtogif — Convert a Netpbm image into an unanimated GIF image. See also: giftopnm, gifsicle. More information: <https://netpbm.sourceforge.net/doc/pamtogif.html>.

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}}

Code Snippets

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}}

Context

tldr-pages: common/pamtogif

Revisions (0)

No revisions yet.