So I can generate pixel art for your images

50 points sofaspawn

Long story short, I made this tool in rust to generate pixel art for images. You can customize how detailed you want the pixelated image to be.

Basically, I downscale the image by some "scaling\_factor" -> iterate over each pixel and find the nearest color from the one-dark color palette -> upscale the image back to its original size.

I used the Image crate btw to read images...

https://preview.redd.it/ai6slbdz7r7e1.png?width=1560&format=png&auto=webp&s=43708acd97e67f425f3eef303a8693d99c7c6495

link: https://github.com/sofaspawn/pxlate