libheif
libheif copied to clipboard
libheif.js decodes HEIF files incorrectly
Hello,
I tried converting some of my own HEIF files taken by my Galaxy S21+ on the online demo. However, the decoded files are luma clipped (I didn't measure, but it could be 16-235). heif-convert
however, does decode the same files correctly. Had to zip attachments because .heic is not supported.
20210516_193705.zip
Another sample from an iPhone Xs Max, same issue. IMG_0640.ZIP
Attached pics with histogram.
ORIGINAL:
DECODED: