TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

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

105 pointsby caramellowabout 3 years ago

13 comments

masterchief1s1kabout 3 years ago
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.
评论 #30741655 未加载
JoBradabout 3 years ago
Read the README, and noticed the picture. My first thought was “why don’t they show the result?”.<p>Then it hit me. Excellent job!
CrociDBabout 3 years ago
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: <a href="https:&#x2F;&#x2F;github.com&#x2F;CrociDB&#x2F;doomoji" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;CrociDB&#x2F;doomoji</a>
JoeOfTexasabout 3 years ago
I wonder if you could use this for some kind of &quot;secret&quot; message.<p>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.
评论 #30740773 未加载
评论 #30742867 未加载
retpiratoabout 3 years ago
Somebody is actually working on a language made entirely of emojis called &quot;emojilang, so this could be a way to write a secret message.
评论 #30742094 未加载
评论 #30740872 未加载
评论 #30740581 未加载
thanatos519about 3 years ago
So ... like <a href="https:&#x2F;&#x2F;github.com&#x2F;schani&#x2F;metapixel" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;schani&#x2F;metapixel</a> or any other photomosaic program, but only one tile per pixel?<p>*photomosaic is a trademark of Rob Silvers.
评论 #30747359 未加载
ZeroGravitasabout 3 years ago
Feels like a good match for rust&#x27;s &#x27;fearless concurrency&#x27;.<p>With the large number of emojis available, do you still get decent results if you don&#x27;t use any single emoji twice?
评论 #30741242 未加载
tejadoabout 3 years ago
Or encode any data into emojis: <a href="https:&#x2F;&#x2F;github.com&#x2F;tejado&#x2F;BaseEmoji" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;tejado&#x2F;BaseEmoji</a>
评论 #30741078 未加载
bckrabout 3 years ago
Hey thanks for this. Even though I don&#x27;t completely understand it, it&#x27;s inspired me to find something fun and smallish to create :)
pilafabout 3 years ago
I feel there&#x27;s a lost opportunity in not naming this project Emosaic or even Mojaic.
评论 #30740648 未加载
marginalia_nuabout 3 years ago
I think Floyd-Steinberg could probably allow you to have multiple pixels per emoji.
runiqabout 3 years ago
You have some conflict markers in your README :)
评论 #30740625 未加载
quackduckabout 3 years ago
Lol I love this