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.5-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75ba7d40a794bf5d243ef7a0023fce436c8336dad68ed68752745d4189cb85c8 |
|
MD5 | 9992556d2802c395b4747b5b7242b620 |
|
BLAKE2b-256 | d4d11ac3b41c8fbbdd8cea672a7826c4b09aaf5a1634a78fc4b7abb04062a109 |