1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/pamtogif.md
Juri Dispan 6262f22e3f
ppmtogif, pamtogif: add pages (#12409)
* ppmtogif, pamtogif: add pages

* Update pages/common/pamtogif.md

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

---------

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2024-03-04 07:44:25 +01:00

17 lines
593 B
Markdown

# 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 -transparent {{color}} {{path/to/image.pam}} > {{path/to/output.gif}}`
- Include the specified text as a comment in the output GIF file:
`pamtogif -comment "{{Hello World!}}" {{path/to/image.pam}} > {{path/to/output.gif}}`