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>
pull/23/head
Juri Dispan 2024-03-04 07:44:25 +01:00 committed by GitHub
parent 4e4257291c
commit 6262f22e3f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 25 additions and 0 deletions

17
pages/common/pamtogif.md Normal file
View File

@ -0,0 +1,17 @@
# 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}}`

8
pages/common/ppmtogif.md Normal file
View File

@ -0,0 +1,8 @@
# ppmtogif
> This command is superseded by `pamtogif`.
> More information: <https://netpbm.sourceforge.net/doc/ppmtogif.html>.
- View documentation for the current command:
`tldr pamtogif`