Open tlnagy opened 3 years ago
A better option is to perhaps separate the pure pyramidal array definition into a lighter package so that ImageIO can depend on it.
This can be quite similar to representing an indexed image as IndirectArray. See also https://github.com/JuliaIO/ImageIO.jl/pull/48
For packages like
ImageIO
where we are emittingArray
s, there should be an option forTiffImages
to load the file in a simplified and compatible way, i.e. only the largest slice in a pyramidal image, etc. This would insulate users of those packages fromTiffImages
types and complexity.This would be more efficient/more general than doing the conversion post-hoc.
Originally posted by @tlnagy in https://github.com/JuliaIO/ImageIO.jl/issues/25#issuecomment-827070073