I want to read the EXIF data from a HEIC photo.
If I run:
<?php
var_dump(exif_read_data("test.heic"));
I get
bool(false)
If I run the Linux tool exiftool test.heic
- then I can see all the information that I need is there (location, camera name, etc).
If I run exif_read_data("test.jpg")
- then I get data. So I know the syntax I'm using is correct.
I'm using PHP 7.1 and ImageMagick 6.9.4-10 (1684).
print_r(imagick::getVersion());
Array
(
[versionNumber] => 1684
[versionString] => ImageMagick 6.9.4-10 Q16 x86_64 2017-05-23 http://www.imagemagick.org
)
Do I need newer versions? If so, which ones work with HEIC?