LinuxCommandLibrary

pamstretch

stretches PAM/PNM images by pixel replication with interpolation

TLDR

Stretch image 2x

$ pamstretch [2] [input.pam] > [output.pam]
copy
Stretch with interpolation
$ pamstretch -dropedge [3] [input.pam] > [output.pam]
copy

SYNOPSIS

pamstretch [options] factor [file]

DESCRIPTION

pamstretch stretches PAM/PNM images by pixel replication with interpolation. Smoother than simple enlargement. Part of Netpbm toolkit.

PARAMETERS

factor

Stretch factor (integer).
-dropedge
Drop edge pixels.
-xscale n
Horizontal scale only.
-yscale n
Vertical scale only.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community