https://github.com/Exiv2/exiv2/blob/05ec05342e17dc94670db1818447c06d0da8f41a/src/jp2image.cpp#L781
exiv2/src/jp2image.cpp
Line 781 in 05ec053