<div class="markdown">
<p><a href="https://pypi.python.org/pypi/pdiffer">https://pypi.python.org/pypi/pdiffer</a></p>
<p>I needed to call out to PerceptualDiff from some Python unit tests, so rather than invoking subprocess every time, I wrapped it up in this library. It includes 'assert<em>images</em>similar' and 'assert<em>images</em>different' functions, too.</p>
<p>Enjoy!<br>
-- Z</p>
</div>