Skip to main content

python - image dithering

Project description

image-dithering-python

python implementation for image dithering

Quickstart

This library performs image dithering.

Installation

To install, run:

$ pip install PyDither

Usage:

	import cv2
	import Dither
	
	img = cv2.imread('images/img1.jpg', 0)						# read image

	out = Dither.dither(img, 'simple2D', resize=True)			# perform image dithering
	cv2.imshow('dithered image', out)							# display output

As easy as that!

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

PyDither-0.0.1.tar.gz (2.2 kB view details)

Uploaded Source

File details

Details for the file PyDither-0.0.1.tar.gz.

File metadata

  • Download URL: PyDither-0.0.1.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for PyDither-0.0.1.tar.gz
Algorithm Hash digest
SHA256 b7a5f193f9b685ac676c0b6773a84e04c700bf8a476e770166a631e14a998eba
MD5 290c7334c7c964beb8c4ad97dca04d46
BLAKE2b-256 a440f0730cb2103cfef245d720de6ec242726610fcb5dfe1ff745d62d59584ab

See more details on using hashes here.

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