|
Posted by Schraalhans Keukenmeester on 06/08/07 11:52
At Fri, 08 Jun 2007 02:44:02 +0200, Iván Sánchez Ortega let h(is|er)
monkeys type:
> Jon Slaughter wrote:
>
>> can one "stream" image data to a browser?
>
> Yeah, you can encode the image in base64, but IMHO it's not worth it.
>
>> Anyway around this?
>
> The classic way: do <img src='foo.php'>, where foo.php is the *only* script
> that runs imagepng().
>
> This means: do *not* run imagepng() in your main script.
Ivan, can you explain why the main script shouldn't run it? I think I am
missing a clue here. Other than that I can only second your opinion on
streaming image data. Can't think of ANY useful application. But maybe
someone can?
--
Schraalhans Keukenmeester - schraalhans@the.Spamtrapexample.nl
[Remove the lowercase part of Spamtrap to send me a message]
"strcmp('apples','oranges') < 0"
Navigation:
[Reply to this message]
|