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.
精彩评论