dom-to-image-retina
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i dom-to-image-retina

Weekly Downloads

57

Version

1.0.2

License

MIT

Unpacked Size

57.3 kB

Total Files

6

Last publish

Collaborators

  • egoist