1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-02 00:35:23 +02:00
tldr/pages/common/ppmglobe.md

14 lines
495 B
Markdown
Raw Normal View History

# 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 -background {{red}} {{number_of_strips}} {{path/to/image.ppm}} > {{path/to/output.ppm}}`