1.1.1 • Published 5 years ago

image-colouriser v1.1.1

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

Image Colouriser

This tool can be used to apply themes to images. It will add css to any svg in the search path and will also transfer other image formats for convenience. It will also allow for having theme specific images by putting the theme name in dots in image name (i.e. image.theme.png).

To use it, simply call image-colouriser and follow the prompts. It can also work with command line arguments. These are --images "path" for the path to the images folder, --target "path" for the path to write these images to, and --css "path" for the path to the theme css file (this will also be used to work out the theme name).

The application will also look for a schema file in the working directory. This should be called schema.json and be structured as below.

{
  "read": "path/to/images",
  "target": "path/to/write/to",
  "css": "path/to/theme/file"
}