LinuxCommandLibrary

pamslice

extracts image slices

TLDR

Extract horizontal slice

$ pamslice -row=[100] [input.pam]
copy
Extract vertical slice
$ pamslice -col=[50] [input.pam]
copy

SYNOPSIS

pamslice [options] [file]

DESCRIPTION

pamslice extracts image slices. Outputs pixel values along line.
The tool creates profile data. Part of Netpbm.

PARAMETERS

FILE

Input PAM/PNM image.
-row N
Extract row N.
-col N
Extract column N.

CAVEATS

Part of Netpbm. Text output. For analysis.

HISTORY

pamslice is part of Netpbm for extracting image profile data.

SEE ALSO

pamcut(1), netpbm(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community