FFImageLoading icon indicating copy to clipboard operation
FFImageLoading copied to clipboard

GIF support

Open alanspires opened this issue 10 years ago • 11 comments

Was playing around with GIF's in Xam.Forms today and came across...

https://github.com/jamesmontemagno/Xamarin.Forms-Awesome-Controls/blob/master/GifImageView/GifImageView/GifImageView.FormsPlugin.iOSUnified/GifImageViewImplementation.cs#L76

This routine seems to work fairly well and doesn't seem like it would be hard to throw in, at least in a alpha/beta stage.

Feels like you could check the image properties and animate if necessary

https://github.com/jamesmontemagno/Xamarin.Forms-Awesome-Controls/blob/master/GifImageView/GifImageView/GifImageView.FormsPlugin.iOSUnified/GifImageViewImplementation.cs#L94

Just a thought.

alanspires avatar Nov 23 '16 21:11 alanspires

https://github.com/luberda-molinet/FFImageLoading/compare/master...alanspires:ios-gif-try3?expand=1

alanspires avatar Nov 24 '16 00:11 alanspires

Whenever you get a chance I'd like to discuss future possibilities of this. Seems that it would be non-invasive but I'm not familiar enough with the library to complete it.

alanspires avatar Nov 28 '16 21:11 alanspires

@alanspires did you try this one recently? I remember we added GIFs to our app about a year ago and this particular library was a bit choppy. It was faster to have just a webview displaying the GIF.

patookllc avatar Dec 02 '16 20:12 patookllc

@patookllc I tested basic GIF's from gihpy.com on a iPhone 6 using my above mentioned code and everything looked good. Ideally what I need to do is convert https://github.com/Flipboard/FLAnimatedImage (used by FlipBoard App) to C#. On my to do list. But if we could at least get basic support (https://github.com/luberda-molinet/FFImageLoading/compare/master...alanspires:ios-gif-try3?expand=1) added, and let the community + me make it better moving forward I think that would be awesome.

PS. Link to my fork of FFImage is not PR ready, just threw it up there for example sake.

alanspires avatar Dec 02 '16 20:12 alanspires

Here is a good technical write up. http://engineering.flipboard.com/2014/05/animated-gif/

alanspires avatar Dec 02 '16 20:12 alanspires

It's a really nice-to-have feature, but first, I need to review some other things 👍 If you have any more resources (Android, Windows), feel free to add it here.

daniel-luberda avatar Dec 14 '16 17:12 daniel-luberda

Will be awesome to have gif support in FFImageLoading, we need here so much...

guiwaltricke avatar Jan 18 '17 19:01 guiwaltricke

@alanspires I saw you started something in your fork regarding Gif support. Have you been able to do more?

molinch avatar Jan 23 '17 18:01 molinch

Super basic support for ios is easy. I can make a pull for that. I'm not familiar enough with droid to add that though. So if that's cool I can make a pr.

Sent from my iPhone

On Jan 23, 2017, at 11:50, Fabien Molinet [email protected] wrote:

@alanspires I saw you started something in your fork regarding Gif support. Have you been able to do more?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

alanspires avatar Jan 23 '17 19:01 alanspires

#470

alanspires avatar Jan 23 '17 20:01 alanspires

I'll close this one, as it's implemented for iOS / Android.

daniel-luberda avatar Jun 06 '17 19:06 daniel-luberda