coralnet icon indicating copy to clipboard operation
coralnet copied to clipboard

Imaging formats: TIFF

Open StephenChan opened this issue 6 years ago • 1 comments

Suggested by Renata Ferrari in the Google Group, where she mentions some orthomosaics using this format.

I don't think there's anything too special about this format; the end result is a raster image like JPG or PNG. Indeed, Pillow does support this format.

On the website side, adding this to our accepted image extensions might be all we need to do. Need to check how easy-thumbnails handles TIFF though, hopefully in a reasonable way.

Wondering about the vision backend side of things. Can it take TIFF directly, or would a conversion to JPG or PNG be needed first? If a conversion, I suppose that would have to be added in the vision backend code.

StephenChan avatar Jun 07 '18 22:06 StephenChan

TIFF can have orientation metadata too. The method of reading it may or may not be the same as JPEG Exif. https://awaresystems.be/imaging/tiff/tifftags/orientation.html

StephenChan avatar Jun 09 '20 19:06 StephenChan