tlnagy/OMETIFF.jl

Switch to new Julian iteration protocol.

Closed this issue · 1 comments

Currently, I use a custom iteration protocol to iteratively load IFDs in a given file, but I should switch OMETIFF over to the new standard Julian protocol for better organization and maintainability. On each iteration, the file can either load the next IFD or return the next already loaded IFD. Additionally, I can provide the state which could simplify the temporary fix in #20 and I can eliminate the file.loc pointer.

Fixed by #24