strukturag / libheif

libheif is an HEIF and AVIF file format decoder and encoder.
Other
1.7k stars 298 forks source link

HEIC rendering file larger than 1.7meg on ubuntu 18.04 fails #1144

Open hokrc01 opened 6 months ago

hokrc01 commented 6 months ago

I downloaded photos from my google drive. On the google-drive I can preview my file. When I downloaded it, I can not view.

Some of the other files that I downloaded are 1.7meg or smaller and they can be viewed.

I am using Ubuntu V18.04, your library, correctly installed I think. image_viewer is my rendering tool.

I tried to attach files, but the best I can do is give you the following link as HEIC format is not allowed for upload on git hub the best I can do is give you two links

https://drive.google.com/file/d/1GI4HRvNrusEcYaCeo_eJRY2Utv3ft2xR/view?usp=sharing

https://drive.google.com/file/d/1qBpWbHHSn5dZJ9b0aJlsK99yLfHchErh/view?usp=sharing

the first I can not view the second I can when downloaded.
One last item under priorities, when downloaded the first file has only size while the second is treated as if it is a photo.

Thank you ahead of time for the assist

bradh commented 6 months ago

Can you say what version of libheif you are using? Is it compiled by you, or from distribution packages?

Ubuntu 18.04 is a very old distribution (almost 6 years!) and support ended a year ago, so upgrading could be a good idea in any case.

bradh commented 6 months ago

The first image is working fine for me with a current version. So I don't think there is any bug.

The second image is JPEG. That isn't handled by libheif.