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

16
pages/common/pamtotiff.md Normal file
View File

@@ -0,0 +1,16 @@
# pamtotiff
> Convert a PAM image to a TIFF file.
> More information: <https://netpbm.sourceforge.net/doc/pamtotiff.html>.
- Convert a PAM image to a TIFF image:
`pamtotiff {{path/to/input_file.pam}} > {{path/to/output_file.tiff}}`
- Explicitly specify a compression method for the output file:
`pamtotiff -{{none|packbits|lzw|g3|g4|flate|adobeflate}} {{path/to/input_file.pam}} > {{path/to/output_file.tiff}}`
- Always produce a color TIFF image, even if the input image is greyscale:
`pamtotiff -color {{path/to/input_file.pam}} > {{path/to/output_file.tiff}}`