mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
19 lines
597 B
Plaintext
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}}`
|