Re: Size of images (in bytes)
| From: | Oliver Witt | Date: | Thu, 23 Jan 2003 17:09:33 +0000 |
| Subject: | Re: Size of images (in bytes) | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-132865@lists.php.net to get a copy of this message | ||
Marek Kilimajer schrieb:
> Use output buffer:
> ob_start();
> ImageJPEG($im);
> $imagestring=ob_get_contents();
> ob_end_clean();
>
>
Thanks for the answer. But if I do it like that, the picture has been sent to
the browser. That's what I don't want. I need to know the size of the picture
before it is sent to the browser.
Olli