STATIC HTML · SINGLE OUTPUT
Comins Capture
comins-capture@0.0.1 · MIT · Published npm package
Capture a view. Shape the output. Save static HTML as an image with scale, custom dimensions and ISO/JIS paper sizes.
0.0.1 scope
- Export a connected static HTMLElement as a single PNG, JPEG, Canvas or foreignObject SVG. WebP requires native encoder support.
- Set scale, custom size, ISO/JIS paper, orientation, margins, fit, alignment and background. Raster paper defaults to 300 PPI; SVG paper uses mm.
- Use one package root from Vanilla, React, Vue and Svelte. Resources default to deny, with cancellation, timeout and snapshot disposal.
Browser and feature limits
Verified in bounded static HTML scenarios on Chrome 155. Native Safari is excluded due to known shadow/clip issues; Edge, Firefox and physical mobile devices are unverified. Crop, tiles, partial output, full-page capture, Shadow DOM, form/scroll state and PDF are outside 0.0.1. SVG contains foreignObject and is not a pure vector format.
npm ↗ · GitHub ↗ · Install and quick start · API · Runnable example and source
Try it in your browser
comins-capture@0.0.1
A static HTML example verified in Chrome. WebP requires a native encoder; Safari is excluded from supported runtimes.
COMINS CAPTURE
A shared document
Save an image in your browser.
Static HTML · 320 × 240
Choose an output format and size.
Download file