Closed VirtualTim closed 2 years ago
Wasn't aware that was available, but looks like a better alternative. I've updated the PR. Thanks.
Build failure is fixed by #172.
Finally merged this into the 2.1 development branch:
https://github.com/openpreserve/jpylyzer/commit/6beebebdde80a3bc2df88fe78c8f629372a6c3ea
Thanks again for the patch!
Thanks for the PR! One small thing: decoding boxType will most likely result in decode errors if its value contains bytes that are not mappable to UTF-8 (common situation for e.g. corrupted files or when applying jpylyzer to arbitrary non-JPEG 2000 formats). I think a call to
bc.bytesToText
from the byteconv module should fix that, will have a look at this later.