libheif icon indicating copy to clipboard operation
libheif copied to clipboard

libheif.js decodes HEIF files incorrectly

Open szgy78 opened this issue 3 years ago • 1 comments

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

szgy78 avatar Jun 10 '21 19:06 szgy78

Attached pics with histogram.

ORIGINAL: original

DECODED: decoded

szgy78 avatar Jun 18 '21 13:06 szgy78