7.3.3. Reading/Writing PBM Image Files
(lsh/libimage/pbm.lsh)


reading and writing PBM image files (one bit per pixel, bitonal images) from and into lists of runs, and idx.

7.3.3.0. (pbm-write-runs f runs nlin ncol)
(lsh/libimage/pbm.lsh)


((-str-) f):
((-idx2- (-int-)) runs):
((-int-) nlin ncol):
CREATED: P. Haffner, Oct 97
DESCRIPTION:
writes <runs> in file <f> as a PBM file.


7.3.3.1. (pbm-write-ubim f m)
(lsh/libimage/pbm.lsh)


writes binary image m in file f as a PBM file. m is and idx2 of ubytes.

7.3.3.2. (pbm-write-ubim-val f m v)
(lsh/libimage/pbm.lsh)


writes binary image m in file f as a PBM file. m is and idx2 of ubytes. mask (value on) all values v

7.3.3.3. (pbm-read-ubim f white black)
(lsh/libimage/pbm.lsh)


read binary image m from PBM file f . code black as black and white as white