Many files have multiple image frames, but getInterpolatedData() does not have an option to extract only a single frame in this situation. It can be done by the calling code, but a large amount of memory must be allocated to interpret all of the data.
As a first step to resolve, getInterpolatedData() can be updated to only process the frame of interest. I did this in PR #12
Next step would be to extend this to only decompress the frame of interest as well, but this is a start.
Many files have multiple image frames, but
getInterpolatedData()
does not have an option to extract only a single frame in this situation. It can be done by the calling code, but a large amount of memory must be allocated to interpret all of the data.As a first step to resolve,
getInterpolatedData()
can be updated to only process the frame of interest. I did this in PR #12Next step would be to extend this to only decompress the frame of interest as well, but this is a start.