geotiffjs / geotiff.js

geotiff.js is a small library to parse TIFF files for visualization or analysis. It is written in pure JavaScript, and is usable in both the browser and node.js applications.
https://geotiffjs.github.io/
MIT License
859 stars 179 forks source link

Avoid redundant reads of pixel-interleaved files #380

Closed jcphill closed 1 year ago

jcphill commented 1 year ago

Uses the same block data for all bands. Fixes #376.

constantinius commented 1 year ago

Thanks @jcphill for providing this fix. I was under the assumption that the internal tile cache would have handled that, but that does not seem to have been the case.