Reputation: 5664
I'd like to use the GD Library with actual images - BLOBs from a mysql database.
Can it be done? If so, how?
Thanks.
Upvotes: 0
Views: 44
Reputation: 449395
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.
Upvotes: 3