bubkoo/html-to-image

✂️ Generates an image from a DOM node using HTML5 canvas and SVG.

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 58 minutes ago
Added to GitGenius on September 9th, 2026
Created on December 4th, 2017
Open Issues & Pull Requests: 203 (+0)
GitHub issues: Enabled
Number of forks: 676
Total Stargazers: 7,232 (+0)
Total Subscribers: 35 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 12.6 days
Mean response time: 66.9 days
90th percentile: 203.4 days
Tracked items: 83

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 100% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Only 1% of issues opened in the past year have been closed.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 85
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 774 days
Stale 30+ days: 85
Stale 90+ days: 80

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • bug (85)
  • enhancement (11)
  • stale (7)
  • needs-more-info (4)
  • potential-duplicate (4)
  • released (3)

Most active issues this week

Detailed Description

html-to-image is a library that generates images from DOM nodes using HTML5 canvas and SVG.

The tool solves the problem of converting web page elements into downloadable or displayable image files. It works by traversing a DOM node, serializing its styles and content, and rendering the result through canvas or SVG. The library provides multiple output formats: PNG, JPEG, SVG, canvas elements, and raw pixel data. Users can apply filters to exclude specific elements, set background colors, control dimensions, and adjust compression quality through a straightforward options API.

The tool suits projects that need to capture visual representations of dynamic web content—such as screenshot functionality, report generation, or social media sharing features. It works in browser environments where DOM access is available. The project is a maintained fork of an earlier library, offering more maintainable code and additional features compared to its predecessor.

The project maintains active continuous integration with automated testing, tracks code coverage metrics, and welcomes community contributions through pull requests.