image-js / tiff

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

would it be possible to add stack support ? #17

Closed lpatiny closed 4 years ago

lpatiny commented 4 years ago

We need to make a kind of kinetic based on image analysis and the instrument generate a tiff containing a stack of pictures.

Would it be easy to add support for parsing such files ?

stack.tif.zip

targos commented 4 years ago

what kind of error do you have with this file?

targos commented 4 years ago

I can indeed decode the file with the current version of the library. It returns 10 IFDs. Is it incorrect?

lpatiny commented 4 years ago

Yes this is correct. And there is a way to get those images as an array ?

targos commented 4 years ago

the decode method returns an array

lpatiny commented 4 years ago

@targos Great ! Many thanks it works perfectly !.