* Call the encapsulated readers decode
(binaryBitmap: BinaryBitmap)
| 1068 | * Call the encapsulated readers decode |
| 1069 | */ |
| 1070 | public decodeBitmap(binaryBitmap: BinaryBitmap): Result { |
| 1071 | try { |
| 1072 | return this.reader.decode(binaryBitmap, this._hints); |
| 1073 | } finally { |
| 1074 | // Readers need to be reset before being reused on another bitmap. |
| 1075 | this.reader.reset(); |
| 1076 | } |
| 1077 | } |
| 1078 | |
| 1079 | /** |
| 1080 | * 🖌 Prepares the canvas for capture and scan frames. |