Skip to main content

Change color of image

Project description

ABOUT

This code can apply a filter to change the selected color to any color.

color_change_CUI(self, image_path,output_path,x,y,rgb)

  • image_path: str
  • output_path:str
  • x:int
  • y:int
  • rgb:list

color_change_CUI changes the color of the specified pixel to an rgb color

color_change_GUI(self, image_path,output_path)

  • image_path:str
  • output_path:str

color_change_GUI selects a specified pixel by clicking on it. Also, rgb is selected from the color picker.

METHOD

color_change_GUI method

from color_change_filter import *
C = color_change_filter()
C.color_change_GUI("IMG_3430.jpeg","output.jpg")

  1. input image
2. select color from input image 3. select color from color picker 4. output image

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_change_filter-1.1.4.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

color_change_filter-1.1.4-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file color_change_filter-1.1.4.tar.gz.

File metadata

  • Download URL: color_change_filter-1.1.4.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.12

File hashes

Hashes for color_change_filter-1.1.4.tar.gz
Algorithm Hash digest
SHA256 4185902147ced7abfe90d1fba75d8b88c9a8b47fd322185c0d043d1477a50f1e
MD5 0c6435b2294f64afa7900f358fe2e98c
BLAKE2b-256 a87d806aafb07770a0f1f042f933e362b5837385861d9c429d41b7cd67b63c3d

See more details on using hashes here.

File details

Details for the file color_change_filter-1.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for color_change_filter-1.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 b1d3448c2c4d603c3dd498b72f0d1ac1876e6f20515fb573cedf43502a1a85be
MD5 8569b95fa4053b1e5c2419c315c3a81f
BLAKE2b-256 bd372322f689c17df2c1a32c87fe37fc1550672b89e9f9cc526f4d69d0f48767

See more details on using hashes here.

Supported by

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