PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Images » Image_Transform » Bug #7412

Need function which returns image content

Details

Request #7412Need function which returns image content
Submitted2006-04-17 16:18 UTC
Fromkroseneg at schmidham dot net
StatusVerified
PackageImage_Transform
PHP VersionIrrelevant
Roadmaps(Not assigned)

Comments

[2006-04-17 16:18 UTC] kroseneg at schmidham dot net

Description:
------------
I need a function which returns the image as string for inserting it into a database.
Although it would be possible to save the file and then use get_file_contents(), it would be much nicer to directly get the image as a result from a function, e.g. $content = $image->getFile();