Re: Gdk PixbufAnimation supported formats
- From: Kip Warner <kip thevertigo com>
- To: Andrew Potter <agpotter gmail com>
- Cc: gtk-app <gtk-app-devel-list gnome org>
- Subject: Re: Gdk PixbufAnimation supported formats
- Date: Sat, 20 Apr 2013 23:18:49 -0700
On Thu, 2013-04-18 at 02:08 -0700, Andrew Potter wrote:
You can make a few png or jpg frames and hook up a g_timeout_add() callback
to set the pixbuf on a GtkImage. I done similar when I needed to dynamically
scale animated gifs. Be sure to stop your timeout on unmap()/unrealize(),
especially if you have more than a handful of animated images instantiated
anywhere.
Thanks Andrew. Advice well taken and I'll be sure to consider giving
that a try.
--
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]