LinuxCommandLibrary

pnmmercator

Convert between map projections for images

TLDR

Apply Mercator projection

$ pnmmercator [input.pnm] > [output.pnm]
copy
Inverse projection
$ pnmmercator -inverse [input.pnm] > [output.pnm]
copy

SYNOPSIS

pnmmercator [options] [file]

DESCRIPTION

pnmmercator converts PNM images between equirectangular (plate carrée) and Mercator map projections. The input image is treated as a map where rows correspond to latitude lines and columns to longitude lines.
The forward transform converts equirectangular to Mercator projection, stretching areas near the poles. The -inverse option reverses this, converting from Mercator back to equirectangular. Part of the Netpbm toolkit.

PARAMETERS

-inverse

Convert from Mercator to equirectangular.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community