This simplifies in tiffread31_header function, removing unused code (= code to handle unused tags) and avoid reading unused tags. This is slightly faster than reading all tags, e.g. on a stack of 25241 frames, it took 20s to load it without skipping unused tags and 16s with.
It is possible that more stuff could be removed, like the code about the bounding box (l.254-259).
Hello,
This simplifies in
tiffread31_header
function, removing unused code (= code to handle unused tags) and avoid reading unused tags. This is slightly faster than reading all tags, e.g. on a stack of 25241 frames, it took 20s to load it without skipping unused tags and 16s with.It is possible that more stuff could be removed, like the code about the bounding box (l.254-259).