getimagesize

$image_file = "64.jpg ";
$image_size = getimagesize($image_file);
print( "图片的宽度: ". $image_size[0]. "
");
print( "图片的高度: ". $image_size[1]. "
");
print( "文件的格式为: ". $image_size[2]. "
");

标签: none

添加新评论