|
|
|
@ -11,7 +11,7 @@ Check for exif_read_data |
|
|
|
test2.jpg is the same image but contains Exif/Comment information and a |
|
|
|
copy of test1.jpg as a thumbnail. |
|
|
|
*/ |
|
|
|
$image = exif_read_data('test2.jpg','',true,false); |
|
|
|
$image = exif_read_data('./ext/exif/tests/test2.jpg','',true,false); |
|
|
|
$accept = ''; |
|
|
|
foreach($image as $idx=>$section) { |
|
|
|
$accept .= $section; |
|
|
|
@ -23,4 +23,4 @@ foreach($image as $idx=>$section) { |
|
|
|
echo $accept; |
|
|
|
?> |
|
|
|
--EXPECT-- |
|
|
|
ArrayFitest2.jpgFi1015448798Fi1240SeCOMPUTED, ANY_TAG, IFD0, THUMBNAIL, COMMENTArrayCoPhoto (c) M.BoergerCoEdited by M.Boerger.htwidth="1" height="1"He1Wi1Is16777216UsExif test image.UsASCIIArrayCoPhoto (c) M.BoergerUsASCIIArrayJP523Array0Comment #1.1Comment #2.2Comment #3end |
|
|
|
ArrayFitest2.jpgFi1015448798Fi1240Fi2SeCOMPUTED, ANY_TAG, IFD0, THUMBNAIL, COMMENTArrayCoPhoto (c) M.BoergerCoEdited by M.Boergehtwidth="1" height="1"He1Wi1Is1UsExif test image.UsASCIIArrayCoPhoto (c) M.BoergerUsASCIIArrayJP134JP523Array0Comment #1.1Comment #2.2Comment #3end |