pnmtoddif: add page (#11753)

pull/23/head
Juri Dispan 2023-12-15 19:15:50 +01:00 committed by GitHub
parent 769469e98a
commit 5f8536e2fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 0 deletions

12
pages/common/pnmtoddif.md Normal file
View File

@ -0,0 +1,12 @@
# pnmtoddif
> Convert a PNM image to a DDIF image file.
> More information: <https://netpbm.sourceforge.net/doc/pnmtoddif.html>.
- Convert a PNM image to a DDIF image file:
`pnmtoddif {{path/to/image.pnm}} > {{path/to/image.ddif}}`
- Explicitly specify the horizontal and vertical resolution of the output image:
`pnmtoddif -resolution {{horizontal_dpi}} {{vertical_dpi}} {{path/to/image.pnm}} > {{path/to/image.ddif}}`