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