You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JOB/src/DecoderWorker.js on Line 453:
newTable[0].length throws an error, when newTable is an empty array, therefore no newTable[0] exists. Fixed this with a simple condition:
JOB/src/DecoderWorker.js on Line 453:
newTable[0].length throws an error, when newTable is an empty array, therefore no newTable[0] exists. Fixed this with a simple condition:
if (newTable.length > 0) {
Image.table = newTable;
Image.width = newTable.length;
Image.height = newTable[0].length;
CreateImageData();
allTables.push({ table: newTable, data: new Uint8ClampedArray(Image.data), width: Image.width, height: Image.height });
}
This happened with image #102 of Muenster BarcodeDB (EAN: 4-000417-106001, Image: 4000417106001-01_N95-2592x1944_scaledTo800x600bilinear.jpg)
The text was updated successfully, but these errors were encountered: