Skip to content

Commit be2734e

Browse files
authored
Merge pull request #30 from AnswerDotAI/austinvhuang/highres-ocr
Increase screen capture resolution
2 parents 7eba15b + 1a42a1f commit be2734e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dialoghelper/screenshot.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ function sendDataToServer(dataId, data) {
1414
});
1515
}
1616

17-
async function streamToBlob(stream, maxWidth = 512, maxHeight = 512) {
17+
async function streamToBlob(stream, maxWidth = 1280, maxHeight = 1024) {
1818
return new Promise((resolve, reject) => {
1919
const video = document.createElement("video");
2020
video.srcObject = stream;

0 commit comments

Comments
 (0)