Skip to main content

A tool for processing image color zones

Project description

Color Zone Processor

A Python tool for processing image color zones by replacing pixels of specific colors with other colors in a structured way.

Installation

You can install the package using pip:

pip install .

Usage

After installation, you can use the tool from the command line:

color-zone-processor --first-percentage 33.53 --total-percentage 33.53

Command Line Arguments

  • --first-percentage: Percentage of target color pixels to replace with first color (0-100)
  • --total-percentage: Total percentage of target color pixels to replace (0-100)
  • --min-zone-size: Minimum size of color zone to consider (default: 100)

Example

color-zone-processor --first-percentage 33.53 --total-percentage 33.53 --min-zone-size 100

Development

To install the package in development mode:

pip install -e .

License

MIT License

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_zone_processor-0.1.0.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

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

color_zone_processor-0.1.0-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file color_zone_processor-0.1.0.tar.gz.

File metadata

  • Download URL: color_zone_processor-0.1.0.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for color_zone_processor-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5e15d2406833e893a9beaced74b570c20cd90a86ec925f264d019b4c5bc83851
MD5 b97dbaf2e0de0fa50b72bb0b0305b631
BLAKE2b-256 c45843efc7d175c35754e552fbe5984e274365f1dc3318514010061fc0969c46

See more details on using hashes here.

File details

Details for the file color_zone_processor-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for color_zone_processor-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0edad6bb674ff368277dc228a1a76f2ce9525669e61bd1a559bcb7a82d50dfbf
MD5 31b4bae703b6edd9fad38a7339bbaea9
BLAKE2b-256 ee8ac606beba6c45fee22114acf4633fd84d0c59b2b59b8c9a8ac6245100fe87

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