@zumer/snapdom 3.1.2-dev.0 → 3.1.2-dev.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zumer/snapdom",
3
- "version": "3.1.2-dev.0",
3
+ "version": "3.1.2-dev.1",
4
4
  "description": "Browser capture engine for web interfaces. Reusable images and canvas, with plugins for HTML, context, PDF and recordings.",
5
5
  "type": "module",
6
6
  "main": "./dist/snapdom.js",
@@ -557,7 +557,9 @@ export interface CaptureResult {
557
557
  * `meta` viewBox coordinates, so a long capture can be rasterized page by page. */
558
558
  toCanvas(options?: CanvasExportOptions): Promise<HTMLCanvasElement>;
559
559
 
560
- /** Returns a Blob of the chosen type (svg/png/jpeg/webp). Defaults to SVG on the default
560
+ /** Returns a Blob of the chosen type (svg/png/jpeg/webp). PNG files from SVG captures
561
+ * automatically preserve oversized output resolution when CompressionStream is available.
562
+ * Defaults to SVG on the default
561
563
  * engine and PNG after a successful html-in-canvas capture. An explicit SVG request on
562
564
  * that raster path rejects because there is no SVG source. */
563
565
  toBlob(options?: BlobOptions & Partial<SnapdomOptions>): Promise<Blob>;
@@ -569,7 +571,8 @@ export interface CaptureResult {
569
571
  toJpg(options?: Partial<SnapdomOptions>): Promise<HTMLImageElement>;
570
572
  toWebp(options?: Partial<SnapdomOptions>): Promise<HTMLImageElement>;
571
573
 
572
- /** Trigger a client-side download of the snapshot using current/default settings. */
574
+ /** Download the snapshot at DPR 1. PNG files from SVG captures automatically preserve
575
+ * oversized output resolution when CompressionStream is available. */
573
576
  download(options?: DownloadOptions & Partial<SnapdomOptions>): Promise<void>;
574
577
 
575
578
  /**