CmdID

CmdID / Commands

rawtoppm

Convert a raw RGB stream to a PPM image. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Convert a raw RGB stream to a PPM image

rawtoppm width height path/to/image.raw >path/to/output.ppmIdentify

Convert a raw RGB stream in which the pixels come bottom-first instead of top-first to a PPM image

rawtoppm width height path/to/image.raw | pamflip -topbottom >path/to/output.ppmIdentify

Ignore the first n bytes of the specified file

rawtoppm width height -headerskip n path/to/image.raw >path/to/output.ppmIdentify

Ignore the last m bytes of each row in the specified file

rawtoppm width height -rowskip m path/to/image.raw >path/to/output.ppmIdentify

Specify the order of color components for each pixel

rawtoppm width height -rgb path/to/image.raw >path/to/output.ppmIdentify