开发者

Is it possible to use the GD Library with actual images?

I'd like to use the GD Library with actual images - BLOBs f开发者_高级运维rom a mysql database.

Can it be done? If so, how?

Thanks.


Yes, using imagecreatefromstring().

It accepts an image as string data, auto-detects its type (as long as it's supported of course) and creates a GD resource based on it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜