13thsymphony / HDRImageViewer

UWP app to view high dynamic range (HDR) and wide color gamut (WCG) images.
https://13thsymphony.github.io/
MIT License
76 stars 21 forks source link

Unable to display HDR picture at full 6K resoultion #48

Closed imbushuo closed 1 year ago

imbushuo commented 2 years ago

So I have a Pro Display XDR, using this app to open a picture at full screen of 4K resolution works, but 6K prompts file corruption.

Might correlated to https://github.com/13thsymphony/HDRImageViewer/issues/47

imbushuo commented 2 years ago

So I think it died while calculating the histogram data for HDR content, complaining intermediate tile being too large in the histogram effect. 🤔

imbushuo commented 2 years ago

A possible fix at https://github.com/13thsymphony/HDRImageViewer/pull/49

Sawtaytoes commented 1 year ago

Could you upload the image? I'd like to see if it's fixed now that these PRs are merged.

13thsymphony commented 1 year ago

For reference, an example repro image is here from #47.

Believed fixed with #49, although I was not able to repro the issue on my setup.