[Request/Idea] Oklab color model support?

Hier diskutieren die Betatester von PhotoLine untereinander und mit den Entwicklern
Benutzeravatar
shijan
Mitglied
Beiträge: 2033
Registriert: Mo 23 Dez 2019 15:21
Wohnort: Ukraine

[Request/Idea] Oklab color model support?

Beitrag von shijan »

Already posted this request in 2022 viewtopic.php?p=50725#p50725 but i guess it is better to create separate thread for this.
Oklab Wiki https://en.wikipedia.org/wiki/Oklab_color_space
Article that contains large collection of many related links https://publish.obsidian.md/xybre/perma ... 4cb41d4407

Oklab supported by LittleCMS. New versions of Photoshop use Oklab to interpolate colors in the gradient tool. Oklab was added to Krita (as plug-in?) https://krita-artists.org/t/oklab-support/75285

Also here is a very technical article with code example "Porting OkLab colorspace to integer arithmetic"
https://blog.pkh.me/p/38-porting-oklab- ... metic.html

Bild
Zuletzt geändert von shijan am Mi 27 Mai 2026 10:02, insgesamt 3-mal geändert.
PhotoLine UI Icons Customization Project: https://www.pl32.com/forum3/viewtopic.php?f=3&t=6302
Benutzeravatar
shijan
Mitglied
Beiträge: 2033
Registriert: Mo 23 Dez 2019 15:21
Wohnort: Ukraine

Re: [Request/Idea] Oklab color model support?

Beitrag von shijan »

Here is another interesting advantage that could be useful for film negatives invert, if add Oklab (and its cylindrical counterpart, OKLCH) as additional mode for Curves and Levels and Hue Editor in PhotoLine:

"No Hue/Chroma Warping: Unlike older uniform spaces like CIELAB, Oklab preserves hue linearity. Inverting colors in older spaces often makes inverted blues shift into purples.
Perceived Lightness: Oklab maps lightness mathematically so that a 50% change is visually perceived exactly as a 50% change."
PhotoLine UI Icons Customization Project: https://www.pl32.com/forum3/viewtopic.php?f=3&t=6302
Benutzeravatar
shijan
Mitglied
Beiträge: 2033
Registriert: Mo 23 Dez 2019 15:21
Wohnort: Ukraine

Re: [Request/Idea] Oklab color model support?

Beitrag von shijan »

Here is example how Oklab and Oklch color mixer UI looks in Color Designer plugin. It is really cool how they remap color area into normal rectangle. In most other online examples default Oklab color area field looks very different from simple rectangle.
screenshot-2.jpg
oklch-color-space-photoshop.jpg
Oklab also was added in latest versions of free drawing app Drawpile. But they note that it could be slow for realtime drawing. https://docs.drawpile.net/help/common/update2x3x0.html
Bild

Drawpile use Oklab as layer blending mode. That is really cool option!
Bild
Du hast keine ausreichende Berechtigung, um die Dateianhänge dieses Beitrags anzusehen.
PhotoLine UI Icons Customization Project: https://www.pl32.com/forum3/viewtopic.php?f=3&t=6302