exif_read_data > PHP

본문 바로가기
사이트 내 전체검색

PHP

exif_read_data

페이지 정보

profile_image
작성자 관리자
댓글 0건 조회 6,162회 작성일 21-04-21 17:42

본문

(PHP 4 >= 4.2.0, PHP 5, PHP 7, PHP 8)

exif_read_dataReads the EXIF headers from an image file

<?php
echo "test1.jpg:<br />\n"
;
$exif exif_read_data('tests/test1.jpg''IFD0'
);
echo 
$exif===false "No header data found.<br />\n" "Image contains headers<br />\n"
;

$exif exif_read_data('tests/test2.jpg'0true
);
echo 
"test2.jpg:<br />\n"
;
foreach (
$exif as $key => $section
) {
    foreach (
$section as $name => $val
) {
        echo 
"$key.$name$val<br />\n"
;
    }
}
?>
 

댓글목록

등록된 댓글이 없습니다.

회원로그인

회원가입

Copyright © neion.co.kr All rights reserved.