26
submitted 1 month ago by over_clox@lemmy.world to c/ccp@discuss.online

This is a 16 color palette reduced image using my own custom palette generator algorithm. The palette it detected and in use is in the top right.

Based on this post right here...

https://discuss.online/post/36509543

top 8 comments
sorted by: hot top new old
[-] henfredemars@infosec.pub 6 points 1 month ago

This image has this lovely crustiness to the limited color palette that really speaks to my days using fishbowl Macs in the computer lab.

[-] over_clox@lemmy.world 4 points 1 month ago

Yes indeed ๐Ÿ‘

But there's a little something different I did here, I made my own custom palette reduction algorithm, that finds the best palette for a given image.

Yeah it's not a new idea by far, but my algorithm seeks the edges of the color space first, yielding higher color saturation than most other palette reduction techniques.

[-] Cawifre@lemmy.world 2 points 1 month ago

I'm really impressed with how well it retained the fuzziness of their faces and on the traces on the upper one's wing segments.

[-] over_clox@lemmy.world 1 points 1 month ago

I didn't exactly reinvent the error diffusion dithering algorithm, I just reinvented palette reduction tailored to a specific image, that gives the most optimal palette for the given image.

I wrote the algorithm like 18 years ago, kinda just testing myself to see if I even remember how it works in its incomplete state. Apparently so.. ๐Ÿ‘

[-] glibg@lemmy.ca 3 points 1 month ago

Great photo and great example of colour efficiency.

[-] tyler@programming.dev 3 points 1 month ago

Makes me think of the recent stand up maths video on dithering.

[-] jim_v@lemmy.world 4 points 1 month ago
[-] over_clox@lemmy.world 1 points 1 month ago

He's doing ordered dithering plus random generated noise there. That's a bit different than error diffusion dithering, the noise comes from the image itself via a feedback loop.

this post was submitted on 18 Mar 2026
26 points (100.0% liked)

Commons Content Party

121 readers
16 users here now

Celebrate open culture and the public domain! Post news, memes, and whatever else, as long as it's in the public domain or equivalent license such as Creative Commons.

Commentary, edits, and remixes welcome! Affirmatively stating that any edits/remixes are in the public domain or under a permissive license appreciated.

founded 3 months ago
MODERATORS