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
Release history Release notifications | RSS feed
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)