JPEG XL

Info

rules 58
github 38694
reddit 688

JPEG XL

tools 4270
website 1813
adoption 22069
image-compression-forum 0
glitch-art 1071

General chat

welcome 3957
introduce-yourself 294
color 1687
photography 3532
other-codecs 25116
on-topic 26652
off-topic 23987

Voice Channels

General 2578

Archived

bot-spam 4577

so you can always tag a PNG with cICP

damian101
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
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...