The smallest and fastest pixel-level image comparison library with anti-aliasing detection.
Overall
score
97%
Perceptual color difference detection (YIQ color space)
pixelmatch import
100%
100%
pixelmatch invocation
100%
100%
threshold option
100%
100%
output buffer handling
100%
100%
mismatch count usage
100%
100%
result calculations
100%
100%
Basic pixel-level image comparison
Import pixelmatch
100%
100%
Call pixelmatch function
100%
100%
Pass image buffers
100%
100%
Pass dimensions correctly
100%
100%
Use threshold option
100%
100%
Handle output buffer
100%
100%
Return mismatch count
100%
100%
Anti-aliasing detection and exclusion
Uses pixelmatch function
100%
100%
Loads PNG images
100%
100%
Comparison with includeAA false
100%
100%
Comparison with includeAA true
100%
100%
Creates output buffer
100%
100%
Configures AA color
0%
0%
Writes diff PNG
100%
100%
Comprehensive CLI features with exit codes and timing
PNG Loading
100%
100%
Pixelmatch Invocation
100%
100%
Performance Timing
100%
100%
Dimension Validation
100%
100%
Error Percentage
100%
100%
Exit Code 0
100%
100%
Exit Code 64
100%
100%
Exit Code 65
100%
100%
Exit Code 66
100%
100%
Optional Diff Output
100%
100%
Dual-mode comparison (with and without diff)
Import pixelmatch
100%
100%
Conditional buffer allocation
92%
100%
Call pixelmatch correctly
92%
100%
Capture mismatch count
100%
100%
Return correct structure
100%
100%
Performance optimization awareness
100%
100%
Visual diff image generation
PNG Reading Setup
100%
100%
pixelmatch Function Call
100%
100%
Output Buffer Allocation
100%
100%
Diff Image Generation
100%
100%
Mismatch Count Usage
100%
100%
Statistics Calculation
100%
100%
Transparent diff masking (diffMask)
diffMask option usage
100%
100%
Output buffer allocation
100%
100%
diffColor configuration
100%
100%
Image buffer preparation
100%
100%
Dimension parameters
100%
100%
PNG output generation
100%
100%
Return value handling
100%
100%
Threshold-based sensitivity control
Imports pixelmatch
100%
100%
Strict mode threshold
100%
100%
Standard mode threshold
60%
100%
Relaxed mode threshold
0%
100%
Correct parameters
100%
100%
Performance-optimized memory access
Uint32Array usage
80%
83%
ByteOffset handling
90%
100%
No intermediate allocations
90%
90%
Fast-path optimization
0%
40%
Efficient grayscale
100%
93%
Alpha blending control for diff output
Alpha option usage
0%
100%
Correct alpha values
0%
100%
Diff output buffer
100%
100%
DiffColor configuration
100%
100%
Mismatch count reporting
100%
100%
Install with Tessl CLI
npx tessl i tessl/npm-pixelmatch