Files
cheatsheet-tldr/tldr/ilbmtoppm

26 lines
767 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 -transparent {{color}} {{path/to/file.ilbm}} > {{path/to/file.ppm}}`
- Ignore the chunk with the specified chunk ID:
`ilbmtoppm -ignore {{chunkID}} {{path/to/file.ilbm}} > {{path/to/file.ppm}}`
- Store the input's transparency information to the specified PBM file:
`ilbmtoppm -maskfile {{path/to/maskfile.pbm}} {{path/to/file.ilbm}} > {{path/to/file.ppm}}`