Re: pixbuf animation



On Fri, May 04, 2001 at 12:43:12PM -0400, Havoc Pennington wrote:
> 
> Hi,
> 
> After much cursing of the foul GIF "specification," I have animation
> working pretty well.
> 
> Appended is the patch I came up with.
> 
> GdkPixbufAnimation and GdkPixbufAnimationIter are now abstract base
> classes. The individual loaders have to override them.
> 
> Playing an animation works in terms of timestamps, much like
> libmng. You specify a start time, and later request already-composited
> pixbufs to display for a given timestamp. A nice side-effect here is
> that we automatically drop frames for smoothness if the CPU or network
> can't keep up with the animation.
> 
> This should allow an MNG animation loader. The only problem is that in
> libmng there's only one iterator per animation, so to implement this
> API you'd need to copy the MNG image data for every view on the
> animation. I'm going to mail the libmng maintainer and whine about
> this.
> 
> With progressive loading, things should just work properly; the
> animation will stream in and the iterator will give you the right
> composite image for the amount of image data currently available.
> 

damn, that looks good :)
So what's the GdkPixbuf argument of the ModulePreparedNotifyFunc still doing there anyway? It isn't used..




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]