tlnagy / TiffImages.jl

💎 Pure-Julia TIFF I/O with a focus on correctness 🧐
http://tamasnagy.com/TiffImages.jl/
MIT License
54 stars 13 forks source link

Mixed bit depth #155

Open chrstphrbrns opened 6 months ago

chrstphrbrns commented 6 months ago

The code currently assumes uniform bit depth for all channels, but the TIFF format seems to support mixed-depth channels, given that the BITSPERSAMPLE tag stores an array for multi-channel data

Implementation would require support from ColorTypes and changes to the recode, deplane, and prediction logic

tlnagy commented 21 hours ago

Seems like #159 goes a way towards making this a reality? I think this would be great to have.