[forms-devel] Add IsAnimatedImage and IsPlaying to Image

sh min shmin.dev at gmail.com
Tue Aug 16 04:17:07 UTC 2016


Hello all,

I'd like to talk about adding a feature for playing animated image such as
GIF files.
Since Animated images are used increasingly, many platforms already provide
displaying or making animated image in a different way.

UWP -
https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.controls.image.aspx

https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.media.imaging.bitmapimage.aspx
Aandroid -
https://developer.android.com/reference/android/graphics/drawable/AnimationDrawable.html
iOS -
https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIImageView_Class/

But unfortunately I couldn't find such APIs in Xamarin.Forms.
So, to be able to use animated image in app, my proposal is to add below
properties to Image class like UWP.

1) IsAnmatedImage - Boolean value indicating whether the image is animated.

2) IsPlaying - Boolean value indicating whether the animation is playing.
If this value is true the animation will start.

I think that it will reduce the time to play animated image for App
developers.
What do you think about this?

Best Regards
Sunghyun Min
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dot.net/pipermail/forms-devel/attachments/20160816/46696ca7/attachment.html>


More information about the forms-devel mailing list