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 hashes)

Uploaded Source

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