From 6262f22e3f2e4296db2428c39a4efc9eacaab248 Mon Sep 17 00:00:00 2001 From: Juri Dispan Date: Mon, 4 Mar 2024 07:44:25 +0100 Subject: [PATCH] ppmtogif, pamtogif: add pages (#12409) * ppmtogif, pamtogif: add pages * Update pages/common/pamtogif.md Co-authored-by: K.B.Dharun Krishna --------- Co-authored-by: K.B.Dharun Krishna --- pages/common/pamtogif.md | 17 +++++++++++++++++ pages/common/ppmtogif.md | 8 ++++++++ 2 files changed, 25 insertions(+) create mode 100644 pages/common/pamtogif.md create mode 100644 pages/common/ppmtogif.md diff --git a/pages/common/pamtogif.md b/pages/common/pamtogif.md new file mode 100644 index 000000000..fec049294 --- /dev/null +++ b/pages/common/pamtogif.md @@ -0,0 +1,17 @@ +# pamtogif + +> Convert a Netpbm image into an unanimated GIF image. +> See also: `giftopnm`, `gifsicle`. +> More information: . + +- 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}}` diff --git a/pages/common/ppmtogif.md b/pages/common/ppmtogif.md new file mode 100644 index 000000000..9dfe4c1bf --- /dev/null +++ b/pages/common/ppmtogif.md @@ -0,0 +1,8 @@ +# ppmtogif + +> This command is superseded by `pamtogif`. +> More information: . + +- View documentation for the current command: + +`tldr pamtogif`