PNG is an image file format.
CICP is an efficient (4 bytes), industry standard (Recommendation ITU-T H.273) way to specify color space.
This tool enables CICP editing within a PNG file.
A typical use case looks like this:
png_cicp_editor.exe add --preset display-p3 C:\images\test.png
This command updates the file to use Display P3.
| Preset | Specification |
|---|---|
| bt.601-pal | Rec. ITU-R BT.601 625-line 50 Hz (PAL) |
| bt.601-ntsc | Rec. ITU-R BT.601 525-line 60 Hz (NTSC) |
| bt.709 | Rec. ITU-R BT.709-6 |
| srgb-linear | linear-light sRGB |
| srgb | IEC 61966-2-1 sRGB |
| bt.2020-10-bit | Rec. ITU-R BT.2020-2 (10-bit system) |
| bt.2020-12-bit | Rec. ITU-R BT.2020-2 (12-bit system) |
| bt.2100-pq | Rec. ITU-R BT.2100-2 perceptual quantization (PQ) system |
| bt.2100-hlg | Rec. ITU-R BT.2100-2 hybrid log-gamma (HLG) system |
| dci-p3 | SMPTE RP 431-2 with SMPTE ST 428-1 D-Cinema Distribution Master (DCI-P3) |
| display-p3 | Display P3 |
| p3-d65-pq | P3-D65 PQ |
You can also specify individual CICP values. For example, to label an RGB image decoded from a SECAM video:
png_cicp_editor.exe add --color_primaries 5 --transfer_function 4 --matrix_coefficients 0 --video_full_range_flag 1 secam-test.png
- Community: We have a welcoming community which follows the Code of Conduct.
- Contribute: We accept pull requests. Take a look at some good first tasks.
- Support: You can report bugs and request changes using GitHub issues.
Refer to Building.
png_cicp_editor and its tests depend on max, which also has a BSD 3-Clause license. You can find some parts of max under Dependencies/max.