After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 105131 - Ggk-pixbuf animation alpha channel broken
Ggk-pixbuf animation alpha channel broken
Status: RESOLVED DUPLICATE of bug 55502
Product: gdk-pixbuf
Classification: Platform
Component: general
git master
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2003-02-03 15:43 UTC by Oleg Klimov
Modified: 2010-07-10 04:06 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
mentioned GIF (15.48 KB, image/gif)
2003-02-03 15:44 UTC, Oleg Klimov
Details

Description Oleg Klimov 2003-02-03 15:43:08 UTC
GdkPixbufAnimation* test =
	gdk_pixbuf_animation_new_from_file("explode2.gif");
/* gif attached, each frame replaces previous */

GdkPixbufAnimationIter* iter =
	gdk_pixbuf_animation_get_iter(test, <time1>);
gdk_pixbuf_animation_iter_advance(iter, <time2>);
pixbuf = gdk_pixbuf_animation_iter_get_pixbuf(iter);

Now gdk_pixbuf_get_has_alpha(pixbuf) returns TRUE.
That's correct (it has), but alpha channel just contains
all 0xFF, instead of expected mask.

(gdk_pixbuf_add_alpha(pixbuf, TRUE, r, g, b) do the trick, ugly)
Comment 1 Oleg Klimov 2003-02-03 15:44:15 UTC
Created attachment 14059 [details]
mentioned GIF
Comment 2 Owen Taylor 2003-02-03 17:00:10 UTC
Is this a dup of bug 55502?
Comment 3 Oleg Klimov 2003-02-03 18:04:25 UTC

*** This bug has been marked as a duplicate of 55502 ***