Provided by: netpbm_10.0-15ubuntu2_amd64
pgmslice - extract one line of pixel values out of a portable graymap
pgmslice -row|-col line [pgmfile]
Extracts one line of pixel values out of a portable graymap and outputs it in a two column ascii format, with the first value being the pixel's position in the line and the second value the pixel's greyscale value. This is useful for making cross sections through, for example, greyscale CCD images.
-row Extract a row of pixels -col Extract a column of pixels
pgmslice was written by Jos Dingjan <firstname.lastname@example.org> after being unable to find the source code to Marco Beijersbergen's program with the same name. 22 May 2000 pgmslice(1)