1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-21 22:42:09 +02:00
tldr/pages/common/pamtogif.md
Antti Savolainen 90bda1304a batch1
2025-03-28 05:51:39 +02:00

611 B

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