strukturag / libheif

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

HEIC image marked up on iPhone not detected as an HEIF file #418

Open feddybear opened 3 years ago

feddybear commented 3 years ago

I tried converting HEIC images to JPG using heif-convert on libheif 1.6.1, installed on Ubuntu 20.04.1 LTS via apt install libheif-example package. Also cloned the recent 1.10.0 version, successfully compiled libheif with jpeg support. Used the provided heif-convert under the examples folder with the same result as below:

When I didn't edit the HEIC image and just directly convert, it runs fine.

But when I did some markup like using opaque boxes to redact information through the iPhone device, then convert with heif-convert on my PC, it fails to detect the marked up image as an "HEIF file".

farindk commented 3 years ago

Please attach an example file so that I can have a look. You could check that the file you got after editing is really an HEIF file. I have seen files with heif suffix that are actually JPEGs.