phpman > man > pgmslice(1)

Markdown | JSON | MCP    

TLDR: pgmslice (tldr-pages)

This command has been superseded by `pamslice`.

  • View documentation for the current command
    tldr pamslice
pgmslice(1)                            General Commands Manual                           pgmslice(1)



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 ex‐
       ample, greyscale CCD images.

OPTIONS
       -row   Extract a row of pixels

       -col   Extract a column of pixels

SEE ALSO
       pgm(5)

AUTHOR
       pgmslice was written by Jos Dingjan <jos AT tuatha.org> after being unable to  find  the  source
       code to Marco Beijersbergen's program with the same name.




                                             22 May 2000                                 pgmslice(1)

Generated by phpman v4.1.1-1-ga5058b5-dirty Author: Che Dong Under GNU General Public License
2026-06-17 04:03 @216.73.216.135
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 TransitionalValid CSS!