mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
26 lines
795 B
Plaintext
26 lines
795 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# ilbmtoppm
|
|
|
|
> Convert an ILBM file to a PPM image.
|
|
> More information: <https://netpbm.sourceforge.net/doc/ilbmtoppm.html>.
|
|
|
|
- Convert an ILBM file to a PPM image:
|
|
|
|
`ilbmtoppm {{path/to/file.ilbm}} > {{path/to/file.ppm}}`
|
|
|
|
- Use the specified color to "show through" where the image is transparent:
|
|
|
|
`ilbmtoppm {{[-t|-transparent]}} {{color}} {{path/to/file.ilbm}} > {{path/to/file.ppm}}`
|
|
|
|
- Ignore the chunk with the specified chunk ID:
|
|
|
|
`ilbmtoppm {{[-ig|-ignore]}} {{chunkID}} {{path/to/file.ilbm}} > {{path/to/file.ppm}}`
|
|
|
|
- Store the input's transparency information to the specified PBM file:
|
|
|
|
`ilbmtoppm {{[-m|-maskfile]}} {{path/to/maskfile.pbm}} {{path/to/file.ilbm}} > {{path/to/file.ppm}}`
|