pnmtorast, pnmtorle, pnmtosgi, pnmtosir, rasttopnm, rletopnm, sgitopnm, sirtopnm: add pages (#11410)
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
This commit is contained in:
12
pages/common/rasttopnm.md
Normal file
12
pages/common/rasttopnm.md
Normal file
@@ -0,0 +1,12 @@
|
||||
# rasttopnm
|
||||
|
||||
> Convert a Sun rasterfile to a PNM file.
|
||||
> More information: <https://netpbm.sourceforge.net/doc/rasttopnm.html>.
|
||||
|
||||
- Convert a RAST image to a PNM file:
|
||||
|
||||
`rasttopnm {{path/to/input.rast}} > {{path/to/output.pnm}}`
|
||||
|
||||
- Use the color map indices in the raster if they are color values:
|
||||
|
||||
`rasttopnm -index {{path/to/input.rast}} > {{path/to/output.pnm}}`
|
Reference in New Issue
Block a user