MCPcopy Index your code
hub / github.com/egoist/dom-to-image-retina

github.com/egoist/dom-to-image-retina @v1.0.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.0.2 ↗ · + Follow
4 symbols 6 edges 2 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

dom-to-image-retina

This combines dom-to-image-chrome-fix-retina and changedpi.

Usage

import { toPng, toJpeg, toBlob } from "dom-to-image-retina"

const dataUrl = await toPng(el, options)
const dataUrl = await toJpeg(el, options)
const blob = await toBlob(el, options)

License

MIT.

Extension points exported contracts — how you extend this code

Options (Interface)
(no doc)
index.ts

Core symbols most depended-on inside this repo

toPng
called by 0
index.ts
toJpeg
called by 0
index.ts
toBlob
called by 0
index.ts

Shape

Function 3
Interface 1

Languages

TypeScript100%

Modules by API surface

index.ts4 symbols

For agents

$ claude mcp add dom-to-image-retina \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page