{"categories":[{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing/2"}],"enrichment":{"capability":"Compares two images pixel-by-pixel to detect differences, with support for anti-aliased pixel detection and perceptual color metrics, returning a count of mismatched pixels and optionally generating a visual diff.","skillfed_tags":["image-comparison","visual-testing","regression-detection"],"use_cases":["Automated visual regression testing in UI test suites to detect unintended rendering changes","Screenshot comparison in end-to-end tests to verify application state visually","Batch image quality validation to flag images that deviate from expected reference images","Diff generation for visual debugging, highlighting exactly which pixels differ between two versions","Integration with CI/CD pipelines to fail builds when visual changes exceed acceptable thresholds"],"what_it_does":"pixelmatch is a Python port of the Mapbox pixelmatch library, designed to detect pixel-level differences between two images. It implements anti-aliased pixel detection and perceptual color difference metrics based on published research papers, making it suitable for visual regression testing and screenshot comparison in automated tests.\n\nThe library accepts images as raw RGBA pixel data and outputs the count of differing pixels while optionally generating a visual diff image. Key parameters control sensitivity via threshold (ranging from 0 to 1), anti-aliasing handling, and diff visualization options like pixel blending and masking. A contrib module provides additional integration patterns for image instances.","worth_installing":"Yes. Low install friction, no external dependencies, active maintenance, permissive ISC license, and no known vulnerabilities make it a safe choice. Well-suited for visual testing workflows; install if you need pixel-level image comparison or screenshot diffing in tests."},"id":"pixelmatch","links":{"html":"https://skillfed.io/packages/pixelmatch","md":"https://skillfed.io/packages/pixelmatch.md","pypi":"https://pypi.org/project/pixelmatch/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-03-07","license_spdx":null,"license_treatment":"permissive","name":"pixelmatch","python_support":"supports_current","summary":"A pixel-level image comparison library."},"popularity":{"monthly_downloads":827412,"position":4957,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.4.0"}
