aous72 / OpenJPH

Open-source implementation of JPEG2000 Part-15 (or JPH or HTJ2K)
BSD 2-Clause "Simplified" License
203 stars 49 forks source link

TLM marker segment not read #156

Open palemieux opened 2 hours ago

palemieux commented 2 hours ago

OpenJPH does not currently load the TLM marker segment, which can be useful to determine how much of the codestream was actually downloaded.

https://github.com/aous72/OpenJPH/blob/00d233524b515a17f6ae8cf2533174eff494f6a7/src/core/codestream/ojph_codestream_local.cpp#L800

aous72 commented 2 hours ago

Hi Pierre,

Thank you for the suggestion.

I totally agree. I am also currently ignoring other marker segments in the header than can help random access. This has to wait for me to do a major revamp of the internal structure -- it is in my mind, but has not come around to do it.

Kind regards, Aous.