pamslice
Extract one line of values out of a PAM image. tldr-pages
On several platforms
Several platforms
Print the values of the pixels in the n'th row in a table
pamslice -row n path/to/image.pamIdentifyPrint the values of the pixels in the n'th column in a table
pamslice -column n path/to/image.pamIdentifyConsider the m'th plane of the input image only
pamslice -row n -plane m path/to/image.pamIdentifyProduce output in a format suitable for input to an xmgr for visualization
pamslice -row n -xmgr path/to/image.pamIdentify