Animated PNG



Hello,

is it possible to display an animated PNG in an Gtk::Image object?
Displaying an animated GIF works fine:

Gtk::Image *i;
Glib::RefPtr <Gdk::PixbufAnimation> anim;

anim = Gdk::PixbufAnimation::create_from_file("anim.gif");
i->set(m_anim);
i->show();

However, if I use an animated PNG the image displayed is
not animated at all.

If this is not possible, what options (besides animated GIF,
which I don't like due to it's limited color space) do I have to display
animated contents?

Thanks in advance
Christian


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