pamtotiff, pbmtowbmp, pnmtotiff, pnmtotiffcmyk, tifftopnm, wbmptopbm: add pages (#11408)

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
This commit is contained in:
Juri Dispan
2023-11-08 14:08:06 +01:00
committed by GitHub
parent f7b68d70a1
commit f96c1b6848
6 changed files with 76 additions and 0 deletions

20
pages/common/tifftopnm.md Normal file
View File

@@ -0,0 +1,20 @@
# tifftopnm
> Convert a TIFF image to a PNM image.
> More information: <https://netpbm.sourceforge.net/doc/tifftopnm.html>.
- Convert a TIFF to a PNM file:
`tifftopnm {{path/to/input_file.tiff}} > {{path/to/output_file.pnm}}`
- Create a PGM file containing the alpha channel of the input image:
`tifftopnm -alphaout {{path/to/alpha_file.pgm}} {{path/to/input_file.tiff}} > {{path/to/output_file.pnm}}`
- Respect the `fillorder` tag in the input TIFF image:
`tifftopnm -respectfillorder {{path/to/input_file.tiff}} > {{path/to/output_file.pnm}}`
- Print TIFF header information to `stderr`:
`tifftopnm -headerdump {{path/to/input_file.tiff}} > {{path/to/output_file.pnm}}`