2024-03-04 07:44:25 +01:00
|
|
|
# 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:
|
|
|
|
|
2025-04-01 06:42:14 +03:00
|
|
|
`pamtogif {{[-t|-transparent]}} {{color}} {{path/to/image.pam}} > {{path/to/output.gif}}`
|
2024-03-04 07:44:25 +01:00
|
|
|
|
|
|
|
- Include the specified text as a comment in the output GIF file:
|
|
|
|
|
2025-04-01 06:42:14 +03:00
|
|
|
`pamtogif {{[-c|-comment]}} "{{Hello World!}}" {{path/to/image.pam}} > {{path/to/output.gif}}`
|