Re: resize image and store it to DB
| From: | Robert Cummings | Date: | Tue, 01 May 2007 12:23:22 +0000 |
| Subject: | Re: resize image and store it to DB | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-254182@lists.php.net to get a copy of this message | ||
On Tue, 2007-05-01 at 12:59 +0200, Tijnema ! wrote:
>
> I don't know if there's a better way, but you could try output
> buffering, so that you start it, output the image with imagejpeg,
> imagepng, imagegif, etc. and then get the contents of the buffer.
That's what I'd suggest also... since it's what I do :)
Cheers,
Rob.
--
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com
|
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting |
| a powerful, scalable system for accessing system services |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for |
| creating re-usable components quickly and easily. |
`------------------------------------------------------------'