libheif icon indicating copy to clipboard operation
libheif copied to clipboard

Ignore missing / incomplete tiles if not strict decoding.

Open fancycode opened this issue 1 month ago • 4 comments

I though about adding a dedicated flag but probably strict_decoding is fine to use for these cases.

Feel free to ping me for example images.

fancycode avatar Oct 30 '25 13:10 fancycode

Looks like this is related to https://github.com/strukturag/libheif/issues/1448 Can you send me some example images? I guess that depending on which tiles are missing, there might be more edge cases not handled yet.

farindk avatar Oct 30 '25 14:10 farindk

In some cases the image doesn't exist yet, so I'm not sure how/where to store the warnings then.

fancycode avatar Nov 03 '25 09:11 fancycode

Is this still a draft? I am considering rewriting the whole grid decoding since the original function was already messy and handling all the new cases makes it even worse.

farindk avatar Nov 05 '25 17:11 farindk

This is ready for review now. I didn't get any errors in my tests and fuzzing seems to be happy, too.

fancycode avatar Nov 06 '25 09:11 fancycode

Thanks.

farindk avatar Dec 21 '25 20:12 farindk