mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-06 00:56:05 +00:00
Update cheatsheets
This commit is contained in:
21
pnmtops
Normal file
21
pnmtops
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# pnmtops
|
||||
|
||||
> Convert a PNM image to a PostScript file.
|
||||
> More information: <https://netpbm.sourceforge.net/doc/pnmtops.html>.
|
||||
|
||||
- Convert a PNM image to a PS file:
|
||||
|
||||
`pnmtops {{path/to/file.pnm}} > {{path/to/file.ps}}`
|
||||
|
||||
- Specify the dimensions of the output image in inches:
|
||||
|
||||
`pnmtops -imagewidth {{imagewidth}} -imageheight {{imageheight}} {{path/to/file.pnm}} > {{path/to/file.ps}}`
|
||||
|
||||
- Specify the dimensions of the page the output image resides on in inches:
|
||||
|
||||
`pnmtops -width {{width}} -height {{height}} {{path/to/file.pnm}} > {{path/to/file.ps}}`
|
||||
Reference in New Issue
Block a user