php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #77757 Support for HEIC / HEIF EXIF
Submitted: 2019-03-17 08:55 UTC Modified: -
Votes:36
Avg. Score:4.6 ± 0.7
Reproduced:31 of 31 (100.0%)
Same Version:13 (41.9%)
Same OS:20 (64.5%)
From: bugs dot php dot net at shkspr dot mobi Assigned:
Status: Open Package: EXIF related
PHP Version: 7.1.27 OS: Linux
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: bugs dot php dot net at shkspr dot mobi
New email:
PHP Version: OS:

 

 [2019-03-17 08:55 UTC] bugs dot php dot net at shkspr dot mobi
Description:
------------
Apple iPhones now take photos in HEIC / HEIF.  They store EXIF metadata, but `exif_read_data` cannot read data.

On Linux, if I run the command line tool `exiftool test.heic` - then I'm able to see the metadata.

I can supply HEIC images if that would help.

I'm using PHP 7.1 and ImageMagick 6.9.4-10 (1684).

Test script:
---------------
<?php 
    var_dump(exif_read_data("test.heic"));



Expected result:
----------------
Full EXIF readout

Actual result:
--------------
bool(false)

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-12-03 22:21 UTC] jesse dot szypulski at gmail dot com
+1 :\
 [2020-04-17 15:06 UTC] ncosta at alum dot rpi dot edu
+1, definitely something I need. Currently have to convert HEIC to JPEG just to pull EXIF data.
 [2020-05-22 10:09 UTC] hct-gaming at email dot de
+1 this would be very welcome. IMHO heic is spreading especially on mobile devices and it could already be used in several more use cases if php would support it.
 [2024-05-31 05:38 UTC] anurag dot trivedi at weboccult dot com
It's 2024, and still having this issue with HEIC format images.
Please we need a support for iphone images in exif_read_data.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 13 00:01:32 2024 UTC