Inspiration

I was inspired by wanting to help color blind game devs by making a way for them to use well made color palettes for them to use for their own art work.

What it does

It takes a dir of images and with a custom color sorting algorithm it takes the images and converts them into sorted color pallets.

How we built it

Using the pillow lib and for image parsing and creation, colorsys for color conversion, and os for file control. I started with the basic file and image interaction and then worked my way to the interaction with individual pixels and the creation of the sorting alg to take a set of unique values and sort it.

Challenges we ran into

The optimization of ever-growing image sizes. This lead to the recreation of many functions and the refactoring of the entire code base to make it work in a more streamlined manner.

Accomplishments that we're proud of

The large number of good looking and ordered palettes and the speed that it is able to process a large number of images.

What we learned

Images are a much more complicated data structure than previously assumed. They rely on a large amount of matrix calculations and the ability to reduce the number of data points quickly.

What's next for Color Pallet From Texture

I want to take this and fix it so that it fully works with any picture to have error handing and embedded compression or quantization to limit the size of the palette.

Built With

Share this project:

Updates