PythonForAivia icon indicating copy to clipboard operation
PythonForAivia copied to clipboard

Test using tifffile directly for imread/imsave

Open tlancon opened this issue 5 years ago • 2 comments

Allows more control over handling metadata and can fix issue with 2D+T

tlancon avatar Apr 28 '20 11:04 tlancon

Potential to fix #12

tlancon avatar Apr 28 '20 11:04 tlancon

For cases like AdjustGamma.py, skimage's imread/imsave work just fine since multiple cases don't have to be handled explicitly. It makes sense, however, to switch to using tifffile's imread/imsave for all recipes so that potential users can avoid the confusion of seeing import statements from multiple libraries for the same task. Interested in your thoughts @pmascalchi

tlancon avatar Apr 28 '20 12:04 tlancon

Indeed, tifffile read/write works as a charm and can be prioritized.

pmascalchi avatar Dec 02 '24 15:12 pmascalchi