itch.io is community of indie game creators and players

Devlogs

Experimental Feature: Palette extraction from images

Palette viewer/editor/generator - OpenToonz/Tahoma, Krita, GIMP, Aseprite
A downloadable tool for Windows, macOS, and Linux

Experimental feature:
Extract palettes from images.

I haven't fully worked out a good way of simplifying palettes to remove very similar colors, but exact duplicates of colors will not be added. I'm currently trying to recursively compare colors using their Euclidean distance, removing those that are too similar. This does result in smaller palettes, but I still see many colors that are too similar to each other.

This works best with images that have no anti-aliasing and use a lossless format like png, tiff, or tga. The image in this post is a good example of what currently works well.

Large images with a lot of unique colors will be quite slow, the less colors in the image, the faster it will be to process.

Files

  • palette_viewer_win.exe 38 MB
    Dec 01, 2021
  • palette_viewer_linux.zip 47 MB
    Dec 01, 2021
  • palette_viewer_osx.zip 32 MB
    Dec 01, 2021
Download Palette viewer/editor/generator - OpenToonz/Tahoma, Krita, GIMP, Aseprite
Leave a comment