getimagesize $image_file = "64.jpg "; $image_size = getimagesize($image_file); print( "图片的宽度: ". $image_size[0]. " <br> "); print( "图片的高度: ". $image_size[1]. " <br> "); print( "文件的格式为: ". $image_size[2]. " <br> ");
Powered by: 博客园 Copyright © 2024 峰雪 Powered by .NET 9.0 on Kubernetes