‘ˆΘ‰ΊŒ³‰ζ‘œƒf[ƒ^

‘Œ³‰ζ‘œƒf[ƒ^[0]580
‘Œ³‰ζ‘œƒf[ƒ^[1]194
‘Œ³‰ζ‘œƒf[ƒ^[2]2
‘Œ³‰ζ‘œƒf[ƒ^[3]width="580" height="194"
‘Œ³‰ζ‘œƒf[ƒ^[bits]8
‘Œ³‰ζ‘œƒf[ƒ^[channels]3
‘Œ³‰ζ‘œƒf[ƒ^[mime]image/jpeg
‰ζ‘œƒTƒCƒY•ΟXE•Ϋ‘Ά

Œ³‰ζ‘œi‰‘F580 cF194j


------------------------------ƒ\[ƒX-----------------------------

$imgname = './img/test.jpg';
$size = GetImageSize("$imgname"); // Œ³‰ζ‘œ‚ΜƒTƒCƒYŽζ“Ύ
$yoko = $size[0];
$tate = $size[1];
echo '‘ˆΘ‰ΊŒ³‰ζ‘œƒf[ƒ^';
foreach($size as $keys => $value){
echo '‘Œ³‰ζ‘œƒf[ƒ^['.$keys.']'.$value.'';
}

-----------------------------------------------------------------