This Inkscape extension allows you to generate swatches from the predominant colors within an image. It utilizes the color-thief-py library created by Shipeng Feng.
To install the Inkscape Color Thief extension, follow these steps:
-
Download the following files:
color_colorthief.inxcolor_colorthief.pycolorthief.py
-
Place these files into your Inkscape user extension folder, which can be found at the following locations:
- On Linux:
~/.config/inkscape/extensions - On Windows:
%AppData%/inkscape/extensions - On macOS:
/Users/<username>/Library/Application Support/org.inkscape.Inkscape/config/inkscape/extensions
- On Linux:
Pro tip: You can conveniently download the entire project as a zip file by clicking
the green Code button and selecting Download ZIP, or by visiting this link:
Download Inkscape Color Thief.
To use this extension, follow these simple steps:
- Open a raster image in Inkscape (prefer
Embed,Linksometimes screws the original image). - Select the image.
- Navigate to
Extensionsin the menu, and then chooseColorand thenColor Thief...from the dropdown. - Specify the number of colors you desire. Duplicated colors will not be added to the swatches.
Copyright 2023 - Gianluigi Tiesi
This software is distributed under the terms of the BSD license.
For more details, please refer to the LICENSE file.