Kas*_*per 11 php upload gd image
通常我会使用imagecreatefromjpeg(),然后getimagesize()使用Firefox 3,我需要绕过这个不同的.所以现在我正在使用imagecreatefromstring(),但我现在如何检索图像尺寸?
imagecreatefromjpeg()
getimagesize()
imagecreatefromstring()
Phi*_*Lho 18
imagesx()和imagesy()功能似乎也与使用的图像一起工作imagecreatefromstring().
imagesx()
imagesy()
Kas*_*per 7
没错!我刚才在互联网上找到了答案:)
对于那些仍然感兴趣的人:
$image = imagecreatefromstring($img_str); $w = imagesx($image); $h = imagesy($image);
归档时间:
16 年,11 月 前
查看次数:
7258 次
最近记录:
12 年,7 月 前