Possible Duplicate:
Creating an image without storing it as a local file
i need create a image with gd and upload it to anoter server with curl in php .
so i met a problem : a gd image resource can’t use as a file stream resource with curl.
is there some way of make a gd image resource into a file stream resource ?
–update–
the local disk is not writeable .
You won’t be able to use it is as a resource, but this should work to capture a JPEG of the image into a local variable.