awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
rsmbl avatar

rsmbl/Resemble.js

0
View on GitHub↗
4,608 stars·422 forks·JavaScript·MIT·30 viewsrsmbl.github.io/Resemble.js↗

Resemble.js

Resemble.js is a JavaScript image comparison library and pixel-based visual regression tool. It functions as an image analysis engine that calculates the percentage of visual difference between two images and generates a diff image to highlight mismatched areas.

The library utilizes a canvas-based approach to identify differences, providing capabilities for automated image comparison and UI component validation. It includes specialized filtering to reduce false positives by ignoring visual noise such as antialiasing and specific colors.

The toolset covers image dimension normalization, analysis region definition through bounding-box exclusion, and the extraction of image composition metrics including color distribution, brightness, and alpha channel data.

Features

  • Image Comparison Libraries - Provides a library for quantifying and visualizing differences between image data buffers.
  • Canvas-Based Image Diffing Tools - Identifies mismatched areas between images using an HTML5 Canvas approach to highlight differences.
  • Canvas-Based Image Processors - Utilizes the HTML5 Canvas API to extract raw RGBA pixel data and render visual difference maps.
  • Difference Map Generation - Generates a visual difference map by mapping mismatched pixels to a specific error color and transparency.
  • Image Composition Analysis Engines - Extracts color distribution, brightness, and alpha channel data from image files.
  • Visual Difference Analyzers - Analyzes two images to produce a spatial map and a percentage of where they differ most.
  • Visual Noise Filters - Implements specialized filtering to ignore antialiasing and specific colors to reduce false positives in visual regression tests.
  • Pixel-Level Image Comparison - Iterates through image coordinate grids to calculate mathematical differences between corresponding color values.
  • Visual Regression Testing - Detects unintended UI changes by comparing images and generating diff maps for automated testing.
  • Pixel-Matching Analysis - Detects structural changes in images by comparing pixels and applying mismatch thresholds.
  • Color Composition Analysis - Extracts image composition metrics including color distributions for red, green, blue, brightness, and alpha channels.
  • Anti-Aliasing Detection - Provides logic to detect and ignore pixel shifts caused by font smoothing to reduce false positives.
  • Comparison Region Exclusions - Allows ignoring specific coordinate ranges during comparison to prevent certain regions from affecting error percentages.
  • Comparison Region Isolation - Restricts image analysis to specific coordinate-based bounding boxes to exclude irrelevant areas.
  • Image Analysis Masks - The product prevents specific regions or colors from being analyzed by defining bounding boxes or color-based masks.
  • Image Dimension Standardizations - Ensures images adhere to consistent pixel dimensions to allow for accurate pixel-by-pixel comparison.
  • Image Scaling - Resizes a secondary image to match the dimensions of the primary image for accurate pixel analysis.
  • Dimension Normalization - Scales and normalizes image dimensions to ensure accurate pixel-by-pixel comparison between assets.
  • UI Component Visual Validation - Verifies that a user interface looks correct by comparing current screenshots against baseline images in a browser.
  • Image Processing - Analyzes and compares images.

Star history

Star history chart for rsmbl/resemble.jsStar history chart for rsmbl/resemble.js

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does rsmbl/resemble.js do?

Resemble.js is a JavaScript image comparison library and pixel-based visual regression tool. It functions as an image analysis engine that calculates the percentage of visual difference between two images and generates a diff image to highlight mismatched areas.

What are the main features of rsmbl/resemble.js?

The main features of rsmbl/resemble.js are: Image Comparison Libraries, Canvas-Based Image Diffing Tools, Canvas-Based Image Processors, Difference Map Generation, Image Composition Analysis Engines, Visual Difference Analyzers, Visual Noise Filters, Pixel-Level Image Comparison.

Which projects share features with rsmbl/resemble.js?

Projects with overlapping indexed features include: huddle/resemble.js — Resemble.js is an image comparison framework and visual difference engine designed for automated regression testing.… mapbox/pixelmatch — pixelmatch is a JavaScript image comparison library and pixel-level difference detector. It identifies mismatched… americanexpress/jest-image-snapshot — jest-image-snapshot is a Node.js image testing library and visual comparison engine designed for visual regression… vslavik/diff-pdf — diff-pdf is a visual comparison tool for PDF files that identifies differences between two documents. It functions as… nodeca/pica — Pica is a client-side utility for browser-based image scaling, format transformation, and file optimization. It… facebookarchive/huxley — Huxley is a visual regression testing tool and browser automation framework designed to detect pixel-level interface…

Projects sharing features with Resemble.js

These projects share indexed features with Resemble.js. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • huddle/resemble.jsHuddle avatar

    Huddle/Resemble.js

    4,608View on GitHub↗

    Resemble.js is an image comparison framework and visual difference engine designed for automated regression testing. It functions as a library to normalize image dimensions and analyze visual discrepancies to determine if two images are identical. The system identifies pixel-level changes between images while providing capabilities for bounding-box isolation and the exclusion of specific regions. It calculates a percentage of difference by measuring the numerical distance between RGBA color channel values. The library covers visual regression testing and frontend quality assurance by compari

    JavaScript
    View on GitHub↗4,608
  • mapbox/pixelmatchmapbox avatar

    mapbox/pixelmatch

    6,849View on GitHub↗

    pixelmatch is a JavaScript image comparison library and pixel-level difference detector. It identifies mismatched pixels between image data arrays and quantifies the differences based on a configurable sensitivity threshold. The tool generates visual difference maps that highlight specific pixel changes for manual review. It includes a command-line interface for comparing image files and exporting the resulting difference maps to the file system. The project provides capabilities for automated image analysis and visual regression testing, utilizing anti-aliasing heuristic filtering to ignore

    JavaScript
    View on GitHub↗6,849
  • americanexpress/jest-image-snapshotamericanexpress avatar

    americanexpress/jest-image-snapshot

    3,913View on GitHub↗

    jest-image-snapshot is a Node.js image testing library and visual comparison engine designed for visual regression testing within Jest. It provides a custom matcher to compare current images against baseline snapshots to identify pixel differences. The tool generates image diffs that highlight specific divergences between baseline and received snapshots. It includes mechanisms to update baseline images when changes are approved and allows for sensitivity tuning via pixel count, percentage thresholds, or blur to ignore noise. The library covers image snapshot management, including custom stor

    JavaScript
    View on GitHub↗3,913
  • vslavik/diff-pdfvslavik avatar

    vslavik/diff-pdf

    4,263View on GitHub↗

    diff-pdf is a visual comparison tool for PDF files that identifies differences between two documents. It functions as both a command line utility for verifying if documents are visually identical and a visualizer for pinpointing specific changes. The project provides a graphical interface for manual inspection, featuring zoom and offset controls to analyze visual shifts. It also generates difference maps that visually highlight the specific areas where two PDF documents differ. The tool supports automated regression testing by returning status codes to indicate whether pixel-level discrepanc

    C++pdf
    View on GitHub↗4,263
  • Compare all 30 related projects→