pnmtoddif: add page (#11753)

This commit is contained in:
Juri Dispan
2023-12-15 19:15:50 +01:00
committed by GitHub
parent 769469e98a
commit 5f8536e2fd

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}}`