Closed LeoYan closed 1 year ago
Fixed issue #48
if fileArray[i].data.length % 4 == 0, there will be extra 4 bytes, so overlap with the following image image = fileArray[i].data + '\xff\xff\xff\xff'.substring(0, 4 - fileArray[i].data.length % 4); btw:
image = fileArray[i].data + '\xff\xff\xff\xff'.substring(0, 4 - fileArray[i].data.length % 4);
Fixed issue #48
if fileArray[i].data.length % 4 == 0, there will be extra 4 bytes, so overlap with the following image
image = fileArray[i].data + '\xff\xff\xff\xff'.substring(0, 4 - fileArray[i].data.length % 4);
btw: