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:
Diffstat (limited to 'src/worker-script/utils/setImage.js')
-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