Skip to main content

Reads in an image and swap specified colors

Project description

Build Status

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.4.tar.gz (2.3 kB view hashes)

Uploaded Source

Built Distribution

color_changer-1.0.4-py3-none-any.whl (4.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page