hongru/canvas2image
a tool for saving or converting canvas as img observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5327
- days_rel: n/a
- days_push: 2000
- n_releases_24m: 0
Adoption not part of the score
1320 stars · 891 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A small JavaScript library that saves or converts HTML5 canvas elements into image files such as PNG, JPEG, GIF, and BMP. It provides simple Canvas2Image API methods for both downloading images and converting canvases to image objects in the browser.
Use cases
- save a canvas drawing as a png image
- export html5 canvas as jpeg
- convert canvas element to an image object
- download canvas content as bmp
- let users save their drawing from a paint app
- export a chart rendered on canvas as an image
When to choose
- you need a tiny dependency-free way to export canvas content in the browser
- you need to save canvases in formats like BMP or GIF that toDataURL alone doesn't cover
- you want a simple drop-in script for a canvas-based drawing or charting app
When to avoid
- you need server-side image conversion or Node.js support
- you need modern packaging (npm/ESM), TypeScript types, or active maintenance
- you need advanced export options like quality control, scaling, or SVG support
Facets
library · maturity maintenance
image-processing web-development frontend image-processing browser canvas image-export png jpeg bmp gif browser-only
1 source
- readme: https://github.com/hongru/canvas2image · fetched 2026-08-28 · b16a78afa9e5
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| hongru/canvas2image | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="hongru/canvas2image")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem