HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

ppmglobe — Generate strips of an image suitable to be glued onto a sphere. See also: `pnmmercator`. More inform

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandstripssuitablegluedppmglobecliimagegenerate

Problem

How to use the ppmglobe command: Generate strips of an image suitable to be glued onto a sphere. See also: pnmmercator. More information: <https://netpbm.sourceforge.net/doc/ppmglobe.html>.

Solution

ppmglobe — Generate strips of an image suitable to be glued onto a sphere. See also: pnmmercator. More information: <https://netpbm.sourceforge.net/doc/ppmglobe.html>.

Transform an image to strips that can be cut out and glues onto a sphere:
ppmglobe {{number_of_strips}} {{path/to/image.ppm}} > {{path/to/output.ppm}}


Use the specified color for the areas between the strips:
ppmglobe {{[-b|-background]}} {{red}} {{number_of_strips}} {{path/to/image.ppm}} > {{path/to/output.ppm}}

Code Snippets

Transform an image to strips that can be cut out and glues onto a sphere

ppmglobe {{number_of_strips}} {{path/to/image.ppm}} > {{path/to/output.ppm}}

Use the specified color for the areas between the strips

ppmglobe {{[-b|-background]}} {{red}} {{number_of_strips}} {{path/to/image.ppm}} > {{path/to/output.ppm}}

Context

tldr-pages: common/ppmglobe

Revisions (0)

No revisions yet.