News for hackers. Stuff that matters.
Re:Show HN: I made a CLI tool that turns pixels into emojis by masterchief1s1k on Sunday March 20, 2022 @03:01AM (#30740749)
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.
Re:Show HN: I made a CLI tool that turns pixels into emojis by caramellow on Sunday March 20, 2022 @07:01AM (#30741655)
I am currently just looking into other color spaces, but I'll have to check that out too! Thanks! :D
Re:Show HN: I made a CLI tool that turns pixels into emojis by JoBrad on Sunday March 20, 2022 @09:54AM (#30742602)
Read the README, and noticed the picture. My first thought was “why don’t they show the result?”.

Then it hit me. Excellent job!

Re:Show HN: I made a CLI tool that turns pixels into emojis by CrociDB on Sunday March 20, 2022 @04:13PM (#30746167)
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
Re:Show HN: I made a CLI tool that turns pixels into emojis by JoeOfTexas on Saturday March 19, 2022 @11:00PM (#30739665)
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.

Re:Show HN: I made a CLI tool that turns pixels into emojis by setr on Sunday March 20, 2022 @03:07AM (#30740773)
> 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

Re:Show HN: I made a CLI tool that turns pixels into emojis by caramellow on Sunday March 20, 2022 @03:11AM (#30740787)
but what if your palette consisted of images with steganography :P
Re:Show HN: I made a CLI tool that turns pixels into emojis by Datagenerator on Sunday March 20, 2022 @10:26AM (#30742867)
Mistaken PAR for RAR? In addition to mostly numbered RAR's archives, the PAR added the safety and recovery layer afiak.
Re:Show HN: I made a CLI tool that turns pixels into emojis by retpirato on Sunday March 20, 2022 @02:18AM (#30740568)
Somebody is actually working on a language made entirely of emojis called "emojilang, so this could be a way to write a secret message.
Re:Show HN: I made a CLI tool that turns pixels into emojis by Aardwolf on Sunday March 20, 2022 @08:27AM (#30742094)
Not a new idea for programming languages: https://esolangs.org/wiki/Emoji
Re:Show HN: I made a CLI tool that turns pixels into emojis by quackduck on Sunday March 20, 2022 @03:36AM (#30740872)
emojicode exists
Re:Show HN: I made a CLI tool that turns pixels into emojis by caramellow on Sunday March 20, 2022 @02:21AM (#30740581)
woah yeah maybe
Re:Show HN: I made a CLI tool that turns pixels into emojis by thanatos519 on Sunday March 20, 2022 @09:59AM (#30742637)
So ... like https://github.com/schani/metapixel or any other photomosaic program, but only one tile per pixel?

*photomosaic is a trademark of Rob Silvers.

Re:Show HN: I made a CLI tool that turns pixels into emojis by caramellow on Sunday March 20, 2022 @06:26PM (#30747359)
I was not aware of those when I started making this!
Re:Show HN: I made a CLI tool that turns pixels into emojis by ZeroGravitas on Sunday March 20, 2022 @05:01AM (#30741192)
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?

Re:Show HN: I made a CLI tool that turns pixels into emojis by caramellow on Sunday March 20, 2022 @05:15AM (#30741242)
yeah this can handle several thousands of images in the palette
Re:Show HN: I made a CLI tool that turns pixels into emojis by tejado on Sunday March 20, 2022 @04:23AM (#30741056)
Or encode any data into emojis: https://github.com/tejado/BaseEmoji
Re:Show HN: I made a CLI tool that turns pixels into emojis by caramellow on Sunday March 20, 2022 @04:28AM (#30741078)
It's not about encoding, moreso about mapping pixels to a palette, but thats pretty neat too :3
Re:Show HN: I made a CLI tool that turns pixels into emojis by bckr on Sunday March 20, 2022 @01:09PM (#30744439)
Hey thanks for this. Even though I don't completely understand it, it's inspired me to find something fun and smallish to create :)
Re:Show HN: I made a CLI tool that turns pixels into emojis by pilaf on Sunday March 20, 2022 @02:36AM (#30740636)
I feel there's a lost opportunity in not naming this project Emosaic or even Mojaic.
Re:Show HN: I made a CLI tool that turns pixels into emojis by caramellow on Sunday March 20, 2022 @02:38AM (#30740648)
Well it's not entirely oriented towards emojis. You can use any image palette to your hearts desire!
Re:Show HN: I made a CLI tool that turns pixels into emojis by caramellow on Sunday March 20, 2022 @02:58AM (#30740732)
like heres a lobster made of hue shifted lobsters

(45MB image) https://ninja.dog/i8H0Uy.png

Re:Show HN: I made a CLI tool that turns pixels into emojis by adg001 on Sunday March 20, 2022 @06:27AM (#30741523)
lobsters all the way down!
Re:Show HN: I made a CLI tool that turns pixels into emojis by quackduck on Sunday March 20, 2022 @03:36AM (#30740878)
so cursed, i love it
Re:Show HN: I made a CLI tool that turns pixels into emojis by caramellow on Sunday March 20, 2022 @03:47AM (#30740904)
IKR! I also love it. It was my first somewhat decent project in rust lol
Re:Show HN: I made a CLI tool that turns pixels into emojis by pilaf on Sunday March 20, 2022 @03:57AM (#30740943)
I see, your README actually says that but I just skimmed over it and went by the HN title, my bad. Cool project BTW!
Re:Show HN: I made a CLI tool that turns pixels into emojis by caramellow on Sunday March 20, 2022 @03:59AM (#30740957)
Lol, thanks!
Re:Show HN: I made a CLI tool that turns pixels into emojis by marginalia_nu on Sunday March 20, 2022 @01:01PM (#30744358)
I think Floyd-Steinberg could probably allow you to have multiple pixels per emoji.
Re:Show HN: I made a CLI tool that turns pixels into emojis by runiq on Sunday March 20, 2022 @02:28AM (#30740604)
You have some conflict markers in your README :)
Re:Show HN: I made a CLI tool that turns pixels into emojis by caramellow on Sunday March 20, 2022 @02:33AM (#30740625)
Oh wow I forgot about those! Thanks haha
Re:Show HN: I made a CLI tool that turns pixels into emojis by quackduck on Sunday March 20, 2022 @03:36AM (#30740874)
Lol I love this