Skip to content

nekketsuuu/palette-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Palette generator for VoxelShop

About

This script extracts dominant colors of a illustration and generates a color palette for VoxelShop.

For example, the script generates the following palette from the following icon.

Prerequisites

  • cv2
  • numpy
  • sklearn (for k-means)

Usage

The following command generates a 10x16 palette <prefix>_palette.png.

python main.py <imgpath>

License

CC-BY 3.0 Unported

Releases

No releases published

Packages

No packages published

Languages