Closed ekitru closed 1 month ago
The decoding in libheif works fine. I can also use heif-dec
to convert to JPEG.
The problem is in eog
or gThumb
that cannot handle those large image sizes. Also the converted large JPEG does not work.
On the other hand, your image loads fine in gimp
(which also uses libheif to load the file).
BTW: I am currently working on better support for large images (much larger than your example). I have images with 65536 MP(!). Those do not even fit into memory, but libheif will support to load them in smaller tiles. But the image viewer applications will have to support this.
thanks you for detail response, should I open ticket to eog and gthumb teams now?
You can do that, but I imagine that it will not be easy to fix.
The new libheif API for tile access is developed in the file-layout
branch. Currently, there is heif_image_handle_get_image_tile_id
, but that is still experimental and will change.
eog is based on gdk-pixbuf
and that does not support tiles, as far as I know.
I have an issue with viewing large HEIC files from my phone s24 ultra.
50 MPx filex are showing, not so fast as jpeg, but it works fine, 200 MPx files cause blinking eog and broken UI, program can be closed only by killing process (xkill or kill -9 pid)
I have added 3 files in 12 50 200 MPx and eog screenshot. https://www.dropbox.com/scl/fo/e9mp4wb2akr578da8zyuu/ADT2ieu-DThdStTtCfSRIdc?rlkey=dsmru7cs6y3lbeduqsspqk9lp&dl=0
list of installled libraries:
I also tried gThumb and have same issue, looks like problem not directly related to HEIC format, but to too huge file resolution.
my machine
heif.zip