syoyo / tinydng

Header-only Tiny DNG/TIFF loader and writer in C++
MIT License
151 stars 30 forks source link

[TODO] Parse some Android DNG #19

Closed syoyo closed 1 year ago

syoyo commented 2 years ago

Some Android DNG(confirmed shooting RAW by Pixel3 XL) has half width + component 2 Lossless jpeg data. We need to parse such LJP image correctly.

LJP:
width : 128
height : 256
components: 2
tile info in TIFF header:
width: 256
height: 256
components: 1
syoyo commented 1 year ago

Seems this issue was fixed when I added support to read Apple ProRAW format(which also have components > 1).