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:2
Avg. Score:5.0 ± 0.0
Reproduced:2 of 2 (100.0%)
Same Version:2 (100.0%)
Same OS:2 (100.0%)
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
Have you experienced this issue?
Rate the importance of this bug to you:

 [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

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Wed Jun 26 10:01:26 2019 UTC