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

26 lines
652 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# ppmcie
> Draw a CIE color chart as a PPM image.
> More information: <https://netpbm.sourceforge.net/doc/ppmcie.html>.
- Draw a CIE color chart using the REC709 color system as a PPM image:
`ppmcie > {{path/to/output.ppm}}`
- Specify the color system to be used:
`ppmcie -{{cie|ebu|hdtv|ntsc|smpte}} > {{path/to/output.ppm}}`
- Specify the location of the individual illuminants:
`ppmcie -{{red|green|blue}} {{xpos ypos}} > {{path/to/output.ppm}}`
- Do not dim the area outside the Maxwell triangle:
`ppmcie {{[-f|-full]}} > {{path/to/output.ppm}}`