Displaying Transparent animated GIFs
Displaying Transparent animated GIFs
- Subject: Displaying Transparent animated GIFs
- From: Patrick Machielse <email@hidden>
- Date: Wed, 03 Mar 2004 00:37:25 +0100
Hi,
I'm having some trouble displaying animated GIFs with transparency. All
transparent areas of the frames are drawn white when I use them (for
instance) in an NSImageView. The animation itself runs fine, it just
displays white for the translucent pixels.
I've tried
[[imageview image] recache];
[[imageview image] setCacheMode:NSImageCacheNever];
,
[[imageview image] setBackgroundColor:[NSColor clearColor]];
,
and also used setOpaque:NO and setAlpha:YES on the NSBitmapImageRep, but
nothing seems to make the white background go away.
I'm out of ideas.
B.t.w, regular GIFs with translucent pixels draw OK.
Am I missing something obvious or is this a bug?
Patrick,
--
Hieper Software
w: www.hieper.nl
e: email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.