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 details)
Built Distribution
File details
Details for the file color-changer-1.0.5.tar.gz
.
File metadata
- Download URL: color-changer-1.0.5.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54fb04443d971f72587f26f77cc9777b7c7d6c4b045fec20304b4423b468de51 |
|
MD5 | 470817fa1ca91ba9df05ee0f643c5d73 |
|
BLAKE2b-256 | 6d45b11828f927454837007e4fdbe2ee33ae89194731fb9f8897e4e176925bda |
File details
Details for the file color_changer-1.0.5-py3-none-any.whl
.
File metadata
- Download URL: color_changer-1.0.5-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c79993fcfbffcf7b13a2805c3f9c5b94b5e3f9091e71d428af6e326762b320ec |
|
MD5 | fe633fc96018ca59952b5a3ec3d7c7c7 |
|
BLAKE2b-256 | ef985171ef1782961f73f7ee8008f8806cb53ed482d6e1fded5a33a25155eb76 |