fcamarlinghi / expresso

Expresso! Exporter is a Photoshop plugin that lets you quickly channel pack and export textures to common file formats such as TGA, PNG and TIFF.
https://minifloppy.it/tools/expresso/
Apache License 2.0
70 stars 35 forks source link

Tif vs TIFF and tiff Compression #15

Open csprance opened 3 years ago

csprance commented 3 years ago

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

fcamarlinghi commented 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.

csprance commented 3 years ago

Yep! Will do asap.