Animated GIFs with Alpha Channel Does Not Display Properly

The place to discuss anything and everything about running your LiveCode on Android

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
McJazz
Posts: 111
Joined: Sun Apr 04, 2010 5:59 am

Animated GIFs with Alpha Channel Does Not Display Properly

Post by McJazz » Sat Jul 16, 2011 8:03 am

Anyone have a work around or fix for distortion of gifs with an alpha channel? I have a 3 frame gif. Any frame with an alpha channel will change colors like from blue to red unexpectedly. On iOS the frame actually inverts.

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Animated GIFs with Alpha Channel Does Not Display Properly

Post by Mark » Mon Jul 18, 2011 12:33 pm

Hi,

The answer is simple. Don't use animated gif's. Ever.

Instead, make a PNG out of each frame of your GIF, important the pictures, create a button and use a script to set the icon of the button to the id of each image.

Kind regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

Post Reply

Return to “Android Deployment”