mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-12 00:58:48 +00:00
Move pages under tldr, lint run.sh, update docs
This commit is contained in:
25
tldr/ilbmtoppm
Normal file
25
tldr/ilbmtoppm
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
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}}`
|
||||
Reference in New Issue
Block a user