开发者

Extract comment property from result of exif_read_data()

开发者 https://www.devze.com 2023-01-22 11:03 出处:网络
How do I return the comment property from exif_re开发者_JS百科ad_data link: http://www.php.net/manual/en/function.exif-read-data.php$comments = exif_read_data(\'tests/test2.jpg\', \'COMMENT\', true);

How do I return the comment property from exif_re开发者_JS百科ad_data

link:

http://www.php.net/manual/en/function.exif-read-data.php


$comments = exif_read_data('tests/test2.jpg', 'COMMENT', true);

foreach ($comments as $name => $val) {
      echo "$name: $val<br />\n";
}
0

精彩评论

暂无评论...
验证码 换一张
取 消