image-js / tiff

TIFF image decoder written entirely in JavaScript
MIT License
190 stars 17 forks source link

Add Float32 support for tiff Images. #28

Closed Mforcen closed 3 years ago

Mforcen commented 3 years ago

It would be very nice if Float32 images could be used, since some scientific applications uses these kind of formats. For example, UAV Imagery. I attach a photo in order to test the changes. float32.zip

Mforcen commented 3 years ago

I'm opening this issue here since targos told to me to do so, but I have been trying and it seems that the Float32 variable type is working. I can load into browser and render it using plotty.

targos commented 3 years ago

Thanks for the test image. I added it in https://github.com/image-js/tiff/commit/59e8cccdd7870a7b39d7fdb588efe8f0a2c9b126. Let's continue the discussion in image-js, then.