Skip to content

Commit 6605551

Browse files
committed
update add image output
1 parent 2d5e405 commit 6605551

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

samples/louie-drivers-license/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ <h1 class="home-page-title">Read a Driver's License</h1>
8989

9090
const result = await scanner.launch();
9191
console.log(result);
92-
downloadImageFromBytes(result.originalImageResult.bytes, "photo.png", "image/png");
92+
downloadImageFromBytes(result.originalImageResult.toBlob("image/png"), "photo.png", "image/png");
9393

9494
if (result.barcodeResults.length > 0) {
9595
let processedResult;

0 commit comments

Comments
 (0)