LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

pnmscalefixed

Scale images using fixed-point arithmetic

TLDR

Scale image using fixed-point math
$ pnmscalefixed [2.0] [input.pnm] > [output.pnm]
copy
Scale to specific dimensions
$ pnmscalefixed -width [800] -height [600] [input.pnm] > [output.pnm]
copy

SYNOPSIS

pnmscalefixed [options] scale [file]

DESCRIPTION

pnmscalefixed scales PNM images using fixed-point integer arithmetic instead of floating-point math. This makes it faster than pamscale on systems without hardware floating-point support, at the cost of slightly reduced accuracy.The tool accepts a scale factor or target dimensions via -width and -height. For most modern systems, pamscale is preferred for better quality. Part of the Netpbm toolkit.

PARAMETERS

scale

Scale factor.
-width n
Target width.
-height n
Target height.

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