Linux command
lispmtopgm 命令
文本
涉及管道、覆盖或删除,执行前请先确认路径和参数。
常用示例
Convert Lisp Machine bitmap to PGM
lispmtopgm [input.lispm] > [output.pgm]
Read from stdin
cat [input.lispm] | lispmtopgm > [output.pgm]
说明
lispmtopgm converts a Lisp Machine bitmap file into a PGM (Portable Graymap) image. It reads bitmaps written by the `tv:write-bit-array-file` function on TI Explorer and Symbolics Lisp Machines. Multi-plane Lisp Machine bitmaps are inherently color, but because the file format lacks a color map the output is produced as grayscale PGM. If no input file is given, the bitmap is read from standard input.
FAQ
What is the lispmtopgm command used for?
lispmtopgm converts a Lisp Machine bitmap file into a PGM (Portable Graymap) image. It reads bitmaps written by the `tv:write-bit-array-file` function on TI Explorer and Symbolics Lisp Machines. Multi-plane Lisp Machine bitmaps are inherently color, but because the file format lacks a color map the output is produced as grayscale PGM. If no input file is given, the bitmap is read from standard input.
How do I run a basic lispmtopgm example?
Run `lispmtopgm [input.lispm] > [output.pgm]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
Where can I find more lispmtopgm examples?
This page includes 2 examples for lispmtopgm, plus related commands for nearby Linux tasks.