Skip to content

ysamlan/hdrmoji

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

HDRMoji

HDR Slack reaction emoji (HDR Slackmoji)

Turn .png files into eye-searing HDR versions suitable for punishing your coworkers on Slack. Usage:

uv run hdrmoji.py embed troll.png troll-hdr.png superhdr.icc

These render well (or awfully, depending on your point of view) on recent Macbook Pros with XDR displays in Chrome and the Slack app; YMMV with other apps, monitors and operating system.

Use the existing extracted HDR ICC profile or ues extract to extract one from an image. The ICC from the original HDR Emojis appears to use Rec. ITU-R BT.2100 PQ or REC 2020 Gamut with PQ Transfer depending which metadata and viewer's info you believe. I have no idea if the LLM-hallucinated cHRM and gAMA values are optimal; someone with more knowledge of colorspaces and ICC profiles than me should feel free to improve it.

Setup

This is self-contained for single-command usage. Just uv run the script. (If you don't already have uv, get with the program).

Origins

Based on seeing swankjesse/hdr-emojis posted to a Slack I use, and a little reverse-engineering from the .png metadata. See that repo for ways to disable HDR in different browsers/apps if you hate it.

About

turn images into eye-searing slack emoji

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages