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 * """

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

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.2.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.2-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: color_change_filter-1.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 c77f38e84f405dbbfcd12b4235f660099e5277da4453b752584b69f20872528e
MD5 82b8691beeecfb8fb7d8686ce0e08ac0
BLAKE2b-256 f0fa93861940f09b35956fadcd73af6e190b597b08d8d1c315ad07093c528f32

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for color_change_filter-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 db243c8d472282a9e5b35cca51665992c52a09b8b607d9ac53c1c116e86366a1
MD5 02da94e646c1ceb192a52a2601d3a4f1
BLAKE2b-256 7cf09bb0ba74a1155699762eb461d2c1031297d8a4e9b8074d492720aca3cef5

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