TIFFLoader TODO:
- Add Bayer pattern retrieval from DNG file, e.g. RGGB, BGGR etc.
- Add heterogeneous image data storage, currently fixed to 16bit
Notes:
- Add loading of sub-images, because some DNG files contain thumbnail as first one, sometimes it has wrong colors and is unusable for correct preview
- Generate thumbnails and check possible ways to reduce RAM usage
- Store processed thumbnails/previews in a file (simple binary storage would be sufficient, don't forget a header with necessary infos) to bypass processing when folder is accessed next time