top | item 30739304

Show HN: I made a CLI tool that turns pixels into emojis

105 points| caramellow | 4 years ago |github.com

31 comments

order
[+] masterchief1s1k|4 years ago|reply
I see that you use euclidean distance of perceptual color and named your color function bad_color_distance. My only input here would be to try something like the CIEDE2000 color difference formula to see if the result can be further improved.
[+] caramellow|4 years ago|reply
I am currently just looking into other color spaces, but I'll have to check that out too! Thanks! :D
[+] JoBrad|4 years ago|reply
Read the README, and noticed the picture. My first thought was “why don’t they show the result?”.

Then it hit me. Excellent job!

[+] CrociDB|4 years ago|reply
Nice! I made a doom renderer with emojis some time ago, but I decided to keep the emojis bigger, so you could identify them. But I like your approach, will definitely try in my doom renderer too: https://github.com/CrociDB/doomoji
[+] JoeOfTexas|4 years ago|reply
I wonder if you could use this for some kind of "secret" message.

Or perhaps like a parity system like RAR files had back in the day to rebuild any of the other images if one were to get lost.

[+] setr|4 years ago|reply
> I wonder if you could use this for some kind of "secret" message.

I think you’d just have a worse version of normal steganography methods

[+] Datagenerator|4 years ago|reply
Mistaken PAR for RAR? In addition to mostly numbered RAR's archives, the PAR added the safety and recovery layer afiak.
[+] ZeroGravitas|4 years ago|reply
Feels like a good match for rust's 'fearless concurrency'.

With the large number of emojis available, do you still get decent results if you don't use any single emoji twice?

[+] caramellow|4 years ago|reply
yeah this can handle several thousands of images in the palette
[+] bckr|4 years ago|reply
Hey thanks for this. Even though I don't completely understand it, it's inspired me to find something fun and smallish to create :)
[+] pilaf|4 years ago|reply
I feel there's a lost opportunity in not naming this project Emosaic or even Mojaic.
[+] caramellow|4 years ago|reply
Well it's not entirely oriented towards emojis. You can use any image palette to your hearts desire!
[+] marginalia_nu|4 years ago|reply
I think Floyd-Steinberg could probably allow you to have multiple pixels per emoji.
[+] runiq|4 years ago|reply
You have some conflict markers in your README :)
[+] caramellow|4 years ago|reply
Oh wow I forgot about those! Thanks haha