mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-11 09:58:35 +00:00
Update cheatsheets
This commit is contained in:
22
ppmhist
Normal file
22
ppmhist
Normal file
@@ -0,0 +1,22 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# ppmhist
|
||||
|
||||
> Print a histogram of the colors present in a PPM image.
|
||||
> See also: `pgmhist`.
|
||||
> More information: <https://netpbm.sourceforge.net/doc/ppmhist.html>.
|
||||
|
||||
- Generate the histogram for human reading:
|
||||
|
||||
`ppmhist -nomap {{path/to/image.ppm}}`
|
||||
|
||||
- Generate a PPM file of the colormap for the image, with the color histogram as comments:
|
||||
|
||||
`ppmhist -map {{path/to/image.ppm}}`
|
||||
|
||||
- Display version:
|
||||
|
||||
`ppmhist -version`
|
||||
Reference in New Issue
Block a user