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.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a87f583da09aac2a3627de02b9c44c3f68c1c73e6ba1db4fdc47ad4859fb58e7 |
|
MD5 | e62a78523d9e4db110d887b6242766ad |
|
BLAKE2b-256 | a1198847dd5ebae73beeb9cc7311ca92d3e8c880c31ab7683472ae8581fcb7c3 |