diff options
author | Balearica <you@example.com> | 2022-08-11 07:22:39 +0300 |
---|---|---|
committer | Balearica <you@example.com> | 2022-08-11 07:22:39 +0300 |
commit | 2e478bd8a5789d23b2aff4dd477126b0135f40f8 (patch) | |
tree | e9d77ff09348efd01a8d55bc70856e71702ee1cf | |
parent | 67848464ac6d89d00c3404e0ac90f36cf98c7233 (diff) |
Ran linter
-rw-r--r-- | src/worker-script/utils/setImage.js | 1 |
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 |