Re: Size of images (in bytes)
| From: | Leif K-Brooks | Date: | Thu, 23 Jan 2003 17:31:05 +0000 |
| Subject: | Re: Size of images (in bytes) | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-132869@lists.php.net to get a copy of this message | ||
No, it's not sent to the browser. Your output buffer catches it, and the output buffer is then erased with ob_end_clean().
Oliver Witt wrote:
Marek Kilimajer schrieb:-- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law.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