Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/naptha/tesseract.js.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBalearica <you@example.com>2022-08-11 07:22:39 +0300
committerBalearica <you@example.com>2022-08-11 07:22:39 +0300
commit2e478bd8a5789d23b2aff4dd477126b0135f40f8 (patch)
treee9d77ff09348efd01a8d55bc70856e71702ee1cf
parent67848464ac6d89d00c3404e0ac90f36cf98c7233 (diff)
Ran linter
-rw-r--r--src/worker-script/utils/setImage.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/worker-script/utils/setImage.js b/src/worker-script/utils/setImage.js
index c8fabcd..2802b98 100644
--- a/src/worker-script/utils/setImage.js
+++ b/src/worker-script/utils/setImage.js
@@ -17,7 +17,6 @@ module.exports = (TessModule, api, image) => {
let w = 0;
let h = 0;
-
if (image instanceof ImageData) {
// The pixel format of ImageData is RGBA and technically
// Tesseract is expecting ABGR, but it does not seem to matter