Skip to content

Latest commit

 

History

History
18 lines (17 loc) · 594 Bytes

README.md

File metadata and controls

18 lines (17 loc) · 594 Bytes

umbrielpng

PNG chunk analyzer and modifier

$ gcc -Wall -o ./umbrielpng umbrielpng.c -lz
$ ./umbrielpng --help
Usage: ./umbrielpng [options] [--] <png...>
Options:
    -v, --verbose
        Be verbose. Specify twice to be extra verbose.
    --fix-in-place, -o <output>, --o=<output>
        Fix the PNG file. --fix-in-place works in place, otherwise use the provided output.
    --cicp-prim=<primaries>
    --cicp-trc=<transfer>
        Tag the output file with a cICP chunk with the provided primaries and transfer.
    --srgb
        Equivalent to --cicp-prim=bt709 --cicp-trc=srgb