rawtopgm
Convert a raw greyscale image to a PGM image. More information: https://netpbm.sourceforge.net/doc/rawtopgm.html.
- Convert a raw greyscale image to a PGM image:
rawtopgm >
- Convert a raw greyscale image to a PGM image, assume the image to be a square:
rawtopgm >
- Convert a raw greyscale image in which the pixels come bottom-first instead of top-first to a PGM image:
rawtopgm >
- Ignore the first
nbytes of the specified file:
rawtopgm >
- Ignore the last
mbytes of each row in the specified file:
rawtopgm >
- Specify the maxval for the grey values in the input to be equal to
n:
rawtopgm >
- Specify the number of bytes that represent each sample in the input and that the byte-sequence is to be interpreted as little-endian:
rawtopgm -bpp >
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
