This content has been marked as final. Show 3 replies
If switching of the images is fast enough and does not create any flickering then I1 person found this helpful
would go with your approach because the sprite approach will probably use a lot
more graphic memory. With your approach only the current image has to be in
graphic memory whereas for the sprite approach all images of a series have to
be in graphic memory at the same time.
In order to reduce the number of HTTP requests you could put all images of
a series into a zip file.
Thanks for the feedback. There is no flickering with my implementation.
I was going to post a new follow up question, but figure I ask you first... if I download a gzip via HTTP, is it possible to unzip it and put its image files into Image objects all while never touching the disk?
I haven't tried it but I think that should be possible via a ZipInputStream.1 person found this helpful