Open csprance opened 3 years ago
A PR (without the formatting changes, although I agree the code could use an overall cleanup) would be great! Feel free to include the changes you made to the readme as well.
Regarding .tif vs .tiff: it would probably be better to add an option to control it - similar to what you did for compression - so that previous behavior is preserved. I can make the required changes on top of the PR.
Yep! Will do asap.
I made a few changes to the extension on my side in regards to tif export. https://github.com/csprance/expresso
One of the things I changed was using the 3 letter extension of tif instead of .tiff (They're the same thing but lots of stuff likes to have the 3 letter version instead [in my case snowdrop])
I also added an option for tiff compression using LZW (since tif compression is lossless there is really no reason not to use it).
Would you like me to create a pull request for either of these?
(I ran prettier on the whole codebase as well but I'm happy to transfer these changes sans my formatting changes.)