Skip to main content

A package for image processing with HSL color adjustment and error diffusion dithering

Project description

HSL Six Color Image Processor

Overview

hslSixColor is a Python package for image processing that applies HSL color adjustment and error diffusion dithering to images.

Features

  • Adjust image saturation using HSL color space
  • Apply error diffusion dithering with a six-color palette
  • Batch process images in a folder

Installation

pip install hslSixColor

Usage

from hslSixColor import process_folder

# Process all images in a folder
process_folder('/path/to/input/folder', '/path/to/output/folder', saturation_factor=0.6)

# Or use the more flexible HSLSixColorProcessor class
from hslSixColor import HSLSixColorProcessor

processor = HSLSixColorProcessor()
processor.process_images('/path/to/input/folder', '/path/to/output/folder')

Parameters

  • input_folder: Path to the folder containing input images
  • output_folder: Path to save processed images
  • saturation_factor: Control the saturation adjustment (default: 0.8)

Requirements

  • Python 3.7+
  • NumPy
  • Pillow

License

[Specify your license here]

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

hslsixcolor-0.1.5.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

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

hslSixColor-0.1.5-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file hslsixcolor-0.1.5.tar.gz.

File metadata

  • Download URL: hslsixcolor-0.1.5.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.7

File hashes

Hashes for hslsixcolor-0.1.5.tar.gz
Algorithm Hash digest
SHA256 932cebe43918de5961dce16ee2c889a483010ed75417101ff508a8d091194ec4
MD5 5e095debf831edb6889368d13ccbb611
BLAKE2b-256 40e6307c7563f3a66d0142904f5f8fb6ff3f503f72343a89769b689535a6435a

See more details on using hashes here.

File details

Details for the file hslSixColor-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: hslSixColor-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.7

File hashes

Hashes for hslSixColor-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 0d998266ab5840fa6645060d4e23b98d95c3e0f654b791416fb14ec59df67e98
MD5 5d7800130d5e1733f7ebf5cc5bbaffa7
BLAKE2b-256 6517196af73ec8ca46fd3ca3932bcd5a931e804969d2e0363ba5fab1d8ea9e0e

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