This commit is contained in:
Juri Dispan 2023-12-15 14:34:43 +01:00
parent a95bc099de
commit 68c575ecab

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