I am trying to read XMP-G Pano data from a panoramic image but its not returning complete Exif data. I am using this code.
$filename = 'panorama.jpeg';
$exif = read_exif_data($filename, "EXIF");
foreach ($exif as $key => $value) {
if(is_array($value)){
foreach ($value as $vkey => $vvale) {
echo $vvale;
}
echo "<br/>";
}else{
echo $value."<br/>";
}
}
XMP-G Pano data can be seen when checking file from exifdata.com Check Image