Skip to content

rbreu/gimp-colourwheel-analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gimp-colourwheel-analysis

GIMP-Plugin that displays colour distribution on a colour wheel. It was inpspired by James Gurney's thoughts on limited palettes and gamut masking.

Installation

Download colourwheel_analysis.py and save it in your plug-ins folder.

On Linux (depending on distro): ~/.gimp-2.8/plug-ins/

On Mac: $HOME/Library/Application Support/Gimp/2.8/plug-ins/

On Windows: Find your GIMP installation folder (commonly in Program Files), then lib\gimp\2.8\plug-ins\

On Linux and Mac, make sure to give the file executable rights:

$ chmod +x /path/to/colourwheel_analysis.py

Then restart GIMP. You will find the plugin under "Color -> Info -> Colour Wheel Analysis...".

Examples and Usage

Note that only hue and saturation are taken into account; differences in lightness will be ignored. You can choose how many times a hue/saturation combination has to occur within the source image before it gets displayed in the result. Furthermore, you can choose how results are displayed on the output colour wheel.

Dialogue Window

Output as pixels:

Example: display as pixels

Output as squares:

Example: display as squares

For Developers

The plugin is written in Python. There are unit tests that cover the GIMP-independent calculations. To run them, you need to install pytest, then place both colourwheel_analysis.py and test_colourwheel_analysis.py in the same folder, preferrably not in your plug-ins folder. Run the tests in that folder with:

$ py.test

About

GIMP-Plugin that displays colour distribution on a colour wheel

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages