No project description provided
Project description
pytest-image-diff
Installation
pip install pytest-image-diff
or from git
pip install -e git+https://githib.com/Apkawa/pytest-image-diff.git@master#egg=pytest-image-diff
Python>=3.5
Usage
from PIL import Image
def test_compare(image_diff):
image: Image or str or bytes = Image.new()
image2: Image or str or bytes = '/path/to/image.jpeg'
image_diff(image, image2)
def test_regression(image_regression):
image: Image or str or bytes = Image.new()
image_regression(image)
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
Built Distribution
Close
Hashes for pytest_image_diff-0.0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f539695f4c900eec373848a75b27bad4fd44e9d1af91988ede67d9403b471717 |
|
MD5 | ab1f99f6a40f2f9e98380f5d2fe188b7 |
|
BLAKE2b-256 | b01c718c6789b34517b5defd3465f64adfbed02401e4584a49c67a68a4a2a82b |