Re: animations with gdk-pixbuf



Wolfgang Sourdeau <wolfgang@iNsu.com> writes:

> > Have you seen the progressive loading API for gdk-pixbuf?
> > <http://developer.gnome.org/doc/API/gdk-pixbuf/gdkpixbufloader.html>
> > 
> > If you added support for multi-page tiffs to the tiff-loader, you could
> > potentially feed data to the loader, use the frame when the page comes
> > in, and unref it when done.  This way you only have one page in memory
> > at one time.  It would, of course, be better to have gdk-pixbuf support
> > bitmaps, but the issues involved with that have already been hashed out
> > on this list.
> > 
> > Thanks,
> > -Jonathan
> > 
> This pixbufloader thing seems interesting, but I think it would be
> easier/cleaner to add this multi-page stuff into io-tiff directly.
> Btw, bitmap tiff images can still be loaded to an RGB buffer with the
> TIFFReadRGBAImage, which is higher level anyway.

The pixbuf-loader is used for progressively loading data.  It doesn't
change anything other then the fact you can look at 'partially' loaded
images.  You would need to add the multi-page stuff to io-tiff
independent of wether or not you progressively load it.

-Jonathan




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