Update cheatsheets

This commit is contained in:
ivuorinen
2024-12-30 00:18:23 +00:00
parent 2f5c37424b
commit aa60befad7
7 changed files with 137 additions and 0 deletions

18
tldr/ppmglobe Normal file
View File

@@ -0,0 +1,18 @@
---
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 -background {{red}} {{number_of_strips}} {{path/to/image.ppm}} > {{path/to/output.ppm}}`