gpt4 book ai didi

PHP GD, imagecreatefromstring( );如何获得图像尺寸?

转载 作者:可可西里 更新时间:2023-10-31 22:40:30 26 4
gpt4 key购买 nike

通常我使用 imagecreatefromjpeg() 然后使用 getimagesize(),但是对于 Firefox 3 我需要绕过这个不同。所以现在我正在使用 imagecreatefromstring(),但现在我该如何检索图像尺寸?

最佳答案

imagesx()imagesy() 函数似乎也适用于使用 imagecreatefromstring() 制作的图像。

关于PHP GD, imagecreatefromstring( );如何获得图像尺寸?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/109210/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com