Closed TomBor closed 2 years ago
Hi @TomBor
Glad you like the project!
The current implementation loads the decoders asynchronously (see here for reference: https://github.com/geotiffjs/geotiff.js/blob/07aceb9598acc15930047d9a0fc8ae5ca1092cce/src/compression/index.js).
Bundlers like Webpack can now do a code splitting and create separate bundles for both the main body of code and each decoder. Also, when you want to use a specific decoder, only that decoder is loaded.
Does that solve your issue?
Great! Thank you for the precision
Is there a way to load geotiff with a selection of compression lib ? For example only LZW.
That's not always necessary to load all of them.
Thanks you for this great project.