awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
rsmbl avatar

rsmbl/Resemble.js

0
View on GitHub↗
4,608 星标·422 分支·JavaScript·MIT·9 次浏览rsmbl.github.io/Resemble.js↗

Resemble.js

Resemble.js 是一个 JavaScript 图像比较库和基于像素的视觉回归工具。它作为一个图像分析引擎,计算两张图像之间的视觉差异百分比,并生成差异图以突出显示不匹配的区域。

该库利用基于 Canvas 的方法来识别差异,提供自动化图像比较和 UI 组件验证功能。它包含专门的过滤功能,通过忽略抗锯齿和特定颜色等视觉噪声来减少误报。

该工具集涵盖图像尺寸归一化、通过边界框排除定义分析区域,以及提取包括颜色分布、亮度和 Alpha 通道数据在内的图像组成指标。

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 历史

rsmbl/resemble.js 的 Star 历史图表rsmbl/resemble.js 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

Resemble.js 的开源替代方案

相似的开源项目,按与 Resemble.js 的功能重合度排序。
  • huddle/resemble.jsHuddle 的头像

    Huddle/Resemble.js

    4,608在 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
    在 GitHub 上查看↗4,608
  • mapbox/pixelmatchmapbox 的头像

    mapbox/pixelmatch

    6,849在 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
    在 GitHub 上查看↗6,849
  • americanexpress/jest-image-snapshotamericanexpress 的头像

    americanexpress/jest-image-snapshot

    3,913在 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
    在 GitHub 上查看↗3,913
  • vslavik/diff-pdfvslavik 的头像

    vslavik/diff-pdf

    4,263在 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
    在 GitHub 上查看↗4,263
查看 Resemble.js 的所有 30 个替代方案→

常见问题解答

rsmbl/resemble.js 是做什么的?

Resemble.js 是一个 JavaScript 图像比较库和基于像素的视觉回归工具。它作为一个图像分析引擎,计算两张图像之间的视觉差异百分比,并生成差异图以突出显示不匹配的区域。

rsmbl/resemble.js 的主要功能有哪些?

rsmbl/resemble.js 的主要功能包括: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。

rsmbl/resemble.js 有哪些开源替代品?

rsmbl/resemble.js 的开源替代品包括: 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…