image-exporter 1.0.7 → 1.0.8
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/README.md +2 -2
- package/bun.lockb +0 -0
- package/dist/image-exporter.es.js +1456 -684
- package/dist/image-exporter.umd.js +1463 -691
- package/package.json +3 -3
- package/src/capture/capture-element.ts +10 -7
- package/src/types.d.ts +1 -1
package/README.md
CHANGED
|
@@ -79,7 +79,7 @@ Image options can also be set at the `config` level and will serve as the defaul
|
|
|
79
79
|
/** Label for image. Does not include file extension or scale. */
|
|
80
80
|
label: string;
|
|
81
81
|
/** File format, jpg, png, or svg. */
|
|
82
|
-
format: "jpg" | "png" | "svg";
|
|
82
|
+
format: "jpg" | "png" | "svg" | "webp";
|
|
83
83
|
/** Scale of image. Can be a number or a comma-separated list of numbers. */
|
|
84
84
|
scale: number | number[];
|
|
85
85
|
/** Quality of image. 0.0 to 1.0, only applies to jpg.*/
|
|
@@ -129,7 +129,7 @@ Config options are set in the `config` object passed to the `capture` function.
|
|
|
129
129
|
|
|
130
130
|
## Built using
|
|
131
131
|
|
|
132
|
-
- [`
|
|
132
|
+
- [`modern-screenshot`](https://github.com/qq15725/modern-screenshot/tree/main)
|
|
133
133
|
|
|
134
134
|
- [`jszip`](https://github.com/Stuk/jszip)
|
|
135
135
|
|
package/bun.lockb
CHANGED
|
Binary file
|