LinuxCommandLibrary

ppmtoicr

Convert a PPM image to NCSA ICR format.

TLDR

Convert a PPM image to a ICR file

$ ppmtoicr [path/to/file.ppm] > [path/to/file.icr]
copy


Display the output in name
$ ppmtoicr -windowname [name] [path/to/file.ppm] > [path/to/file.icr]
copy


Expand the image by the specified factor
$ ppmtoicr -expand [factor] [path/to/file.ppm] > [path/to/file.icr]
copy


Display the output on the screen with the specified number
$ ppmtoicr -display [number] [path/to/file.ppm] > [path/to/file.icr]
copy

Copied to clipboard