LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

pnmtotiff

Convert PNM images to TIFF format

TLDR

Convert PNM to TIFF
$ pnmtotiff [input.pnm] > [output.tiff]
copy
Convert with LZW compression
$ pnmtotiff -lzw [input.pnm] > [output.tiff]
copy
Convert with JPEG compression
$ pnmtotiff -jpeg [input.pnm] > [output.tiff]
copy
Create multi-page TIFF
$ pnmtotiff -append [input.pnm] >> [output.tiff]
copy

SYNOPSIS

pnmtotiff [options] [file]

DESCRIPTION

pnmtotiff converts PNM images to TIFF (Tagged Image File Format), widely used for high-quality image storage and print workflows. Multiple compression methods are supported including LZW, JPEG, PackBits, and Group 3 fax encoding.The -append option allows building multi-page TIFF files by appending images to an existing file. The -resolution option embeds DPI metadata for print sizing. Part of the Netpbm toolkit; superseded by pamtotiff.

PARAMETERS

-none

No compression.
-lzw
LZW compression.
-jpeg
JPEG compression.
-packbits
PackBits compression.
-g3
Group 3 fax compression.
-append
Append to existing TIFF.
-resolution dpi
Set resolution.

INSTALL

sudo apt install netpbm
copy
sudo dnf install netpbm
copy
sudo pacman -S netpbm
copy
sudo apk add netpbm
copy
sudo zypper install netpbm
copy
brew install netpbm
copy
nix profile install nixpkgs#netpbm
copy

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid