This is the command pgmslice that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator
PROGRAM:
NAME
pgmslice - extract one line of pixel values out of a portable graymap
SYNOPSIS
pgmslice -row|-col line [pgmfile]
DESCRIPTION
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.
OPTIONS
-row Extract a row of pixels
-col Extract a column of pixels
Use pgmslice online using onworks.net services