JPEG XL

Info

rules 57
github 35276
reddit 647

JPEG XL

tools 4225
website 1655
adoption 20712
image-compression-forum 0

General chat

welcome 3810
introduce-yourself 291
color 1414
photography 3435
other-codecs 23765
on-topic 24923
off-topic 22701

Voice Channels

General 2147

Archived

bot-spam 4380

so you can always tag a PNG with cICP

damian101
Traneptora so you can always tag a PNG with cICP and set TRC=4
2023-11-14 06:56:15
2023-11-14 06:56:20
how do I do this
Traneptora
2023-11-14 07:09:04
You can use `umbrielpng` as one way
2023-11-14 07:09:52
https://github.com/Traneptora/umbrielpng
damian101
2023-11-14 07:58:48
thanks, that looks convenient
Traneptora https://github.com/Traneptora/umbrielpng
2023-11-14 08:05:55
hmm, how do I specify primaries and transfer curve? this seems to be wrong `--cicp-prim=12 --cicp-trc=16` (Display P3, PQ)
Traneptora
2023-11-14 08:08:34
Use the name
damian101
2023-11-14 08:09:19
the ICC name, I assume?
2023-11-14 08:10:19
no, that wasn't it... ``` umbrielpng: Illegal cICP Primaries: DCI umbrielpng: Illegal cICP Transfer Characteristics: PeQ ```
Traneptora
2023-11-14 08:10:58
nah, it's in the code. haven't docmented it yet
2023-11-14 08:11:29
SMPTE EG 432-1
2023-11-14 08:11:38
for Display P3
2023-11-14 08:11:43
I should add aliases
2023-11-14 08:12:00
PQ is just PQ
damian101
2023-11-14 08:12:09
hmm
Traneptora
2023-11-14 08:13:36
you can also do this with FFmpeg I think
2023-11-14 08:14:26
`ffmpeg -i in.png -color_trc 16 -color_prim 12 out.png`
2023-11-14 08:14:36
but that decodes and encodes
2023-11-14 08:14:52
umbrielpng doesn't touch the IDAT
damian101
2023-11-14 08:19:29
I think most intuitive, for me anyway, would be support for these common number values, as naming is different everywhere... https://en.wikipedia.org/wiki/Coding-independent_code_points
Traneptora
2023-11-14 08:21:27
yea, I need to add that
2023-11-14 08:21:55
it's on the list of features to add
damian101
2023-11-14 08:40:19
most software ignores these kinds of tags... Including MediaInfo, cjxl, and image viewers that can tonemap...
2023-11-14 08:40:24
Chrome supports it...