Files
cheatsheet-tldr/tldr/ppmglobe
2025-04-02 00:19:10 +00:00

19 lines
597 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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}}`