Denis, that's a valid suggestion, however it will use far too much memory. I would expect most of the animations will be around 400x300 consisting of an average of 10-15 frames, and the initial surface will take a long time to blit. it's a possibility, but any other suggestions? what other solutions have people used for displaying animated graphics?
On Wed, 2004-05-12 at 11:51, Denis Oliver Kropp wrote: > Quoting Brian G. Rhodes: > > What would be the best way to playback animated graphics (gif/png) on a > > slow system. geode gx1 sc1200. is buffering all the frames in a video > > provider the best solution. any better ideas? It takes a while > > actually blit the image so it's not really quick enough to process them > > as they are needed if the delay is < 1 second between frames. > > If you can't decode in real time you have to create the animation statically. > > Put all frames into one surface. The layout depends on the number of frames > and the size of one frame. You shouldn't have a surface wider than 1024 for > certain hardware. > > Example: 24 frames of each 64x64 should be layouted 12x2 on a 768x128 surface. > > Each frame can then be blitted by passing a source rectangle to Blit(). -- Info: To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe directfb-users" as subject.
