Hi everyone,

I've just been getting to grips with the "Loading Image With
ResponseStream" XMLHttpRequest example for pulling down image data
from the web inside a request, and it works great.

What I need to do for my project is pull down the data for *several*
images, within one request. As far as I can see, the logic is
straightfoward - get the server to output the data for all the images
in one long stream (which I can take care of, no problem), and then
get the gadget to split the object up into its individual blocks of
image data, and deal with them accordingly..

The problem arises in that I'm not sure exactly what would be the best
way to demarcate each individual image in the data stream. Should I
use a distinctive text string, that would be very unlikely to
coincidentally show up as part of the image data? - or is that not
even necessary? Maybe I should divide using the image headers? (the
images are PNG)

If anyone with any experience doing this sort of thing would chip in
with any advice or pointers - or even example code, I'd be very
grateful. Thanks!

- Tim

--

You received this message because you are subscribed to the Google Groups 
"Google Desktop Developer Group" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-desktop-developer?hl=en.


Reply via email to