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:
Use output buffer:
ob_start();
ImageJPEG($im);
$imagestring=ob_get_contents();
ob_end_clean();
Thanks for the answe
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
befor
Use output buffer:
ob_start();
ImageJPEG($im);
$imagestring=ob_get_contents();
ob_end_clean();
Oliver Witt wrote:
"1lt John W. Holmes" schrieb:
After calling to the function ImageCreateFromJPEG() and before outputing
the image with ImageJPEG, is there a way to determine the images size in
b
"1lt John W. Holmes" schrieb:
> > After calling to the function ImageCreateFromJPEG() and before outputing
> > the image with ImageJPEG, is there a way to determine the images size in
> > bytes?
> > I want to reduce the quality more and more until it has reached a
> > certain level.
> > Thanks,
>
> After calling to the function ImageCreateFromJPEG() and before outputing
> the image with ImageJPEG, is there a way to determine the images size in
> bytes?
> I want to reduce the quality more and more until it has reached a
> certain level.
> Thanks,
> Olli
You have the image data in a string,
Hi,
After calling to the function ImageCreateFromJPEG() and before outputing
the image with ImageJPEG, is there a way to determine the images size in
bytes?
I want to reduce the quality more and more until it has reached a
certain level.
Thanks,
Olli
--
PHP General Mailing List (http://www.php.n
6 matches
Mail list logo