html-image-generator
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -25,4 +25,11 @@ import { promises as fs } from 'fs'; | ||
generateOptions: { | ||
viewport: { width: options.width, height: options.height }, | ||
screenshotOptions: { type: options.type, quality: options.quality }, | ||
viewport: { | ||
width: options.width, | ||
height: options.height, | ||
}, | ||
screenshotOptions: { | ||
type: options.type, | ||
quality: options.quality, | ||
omitBackground: options.omitBackground, | ||
}, | ||
}, | ||
@@ -29,0 +36,0 @@ }; |
{ | ||
"name": "html-image-generator", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"repository": "git@github.com:amotarao/html-image-generator.git", | ||
@@ -5,0 +5,0 @@ "author": "Amon Sawamura <amotarao@gmail.com>", |
@@ -142,2 +142,3 @@ # HTML Image Generator | ||
quality: 70 # optional: valid with jpeg and webp | ||
omitBackground: true # optional: transparent background | ||
``` | ||
@@ -144,0 +145,0 @@ |
10682
189
152