Skip to content

Commit ffa3a9a

Browse files
committed
update
1 parent 7693ada commit ffa3a9a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

docs/index.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -883,6 +883,8 @@ <h2>🧾 Full Page Capture</h2>
883883
const img = await snapdom.toImg(el, {
884884
embedFonts: id === 'body' || id === 'fonts-box' ? true : false,
885885
scale: id === 'body' ? 0.4 : 1,
886+
fast: id !== 'fonts-box' ? true : false,
887+
compress: id !== 'fonts-box' ? true : false
886888
})
887889
output.innerHTML = ''
888890
output.appendChild(img)

0 commit comments

Comments
 (0)