expresso icon indicating copy to clipboard operation
expresso copied to clipboard

Tif vs TIFF and tiff Compression

Open csprance opened this issue 4 years ago • 2 comments

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.)

csprance avatar Nov 30 '20 17:11 csprance

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.

fcamarlinghi avatar Dec 01 '20 09:12 fcamarlinghi

Yep! Will do asap.

csprance avatar Dec 14 '20 19:12 csprance