Reads in an image and swap specified colors
Project description
Description
This lightweight color-changer allows you to change the colors of a given picture and creates a new file of it.
version 1.0.4
Installation
You can install it from source or using pip
$ pip install color-changer
Make sure you have OpenCV installed and named cv2 as usual. Here you can find an article on how to set it up on OSX with Python3. The other dependencies are installed automatically.
Available Arguments
Short |
Long |
Values |
---|---|---|
-i |
–image |
path to image |
-c |
–changer |
red-green or gree-blue or blue-red |
-r |
–result |
new image name |
Examples
$ python -m colorchanger.colorchanger -i image.jpg
$ python -m colorchanger.colorchanger -i image.png -c red-green
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
color-changer-1.0.5.tar.gz
(2.3 kB
view hashes)
Built Distribution
Close
Hashes for color_changer-1.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c79993fcfbffcf7b13a2805c3f9c5b94b5e3f9091e71d428af6e326762b320ec |
|
MD5 | fe633fc96018ca59952b5a3ec3d7c7c7 |
|
BLAKE2b-256 | ef985171ef1782961f73f7ee8008f8806cb53ed482d6e1fded5a33a25155eb76 |