-
Notifications
You must be signed in to change notification settings - Fork 24.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add gif and webp support to Fresco #8455
Conversation
@andreicoman11 do you guys want this on facebook's side? |
I think we want this. |
@andreicoman11, regarding app sizes.
The short answer to all is |
That is bad news. Afaik, these libraries are quite big, it sounds like we shouldn't include them automatically for everybody. |
@andreicoman11, before version 0.10 of Fresco these libraries were included by default into the Fresco library. Since 0.10, these libraries has been split up, so in theory we don't add much weight to React Native since it was there previously. But I understand what you mean, I just want to be sure you know all facts. If you still don't want it into React Native, I will add some documentation about gif and webp support into the Image component, just let me know. |
Thanks for the info @charpeni . The fresco split up was requested by multiple parties, since the whole library was so big. I think we should keep the core size as small as we can, and in this case, the majority of the people won't be needing those libraries. |
Good, I will do that. |
Summary: Motivation #8455 Fixes #8501 With a bonus fix typo ! ![screen shot 2016-07-25 at 14 16 01](https://cloud.githubusercontent.com/assets/7189823/17112118/9f06fe04-5272-11e6-83e9-ddf11573aa5e.png) Closes #8951 Differential Revision: D3647816 Pulled By: mkonicek fbshipit-source-id: e0349275045cae2922b4bb43bcb99af4c6ef1170
Summary: Motivation facebook#8455 Fixes facebook#8501 With a bonus fix typo ! ![screen shot 2016-07-25 at 14 16 01](https://cloud.githubusercontent.com/assets/7189823/17112118/9f06fe04-5272-11e6-83e9-ddf11573aa5e.png) Closes facebook#8951 Differential Revision: D3647816 Pulled By: mkonicek fbshipit-source-id: e0349275045cae2922b4bb43bcb99af4c6ef1170
Summary: Motivation facebook#8455 Fixes facebook#8501 With a bonus fix typo ! ![screen shot 2016-07-25 at 14 16 01](https://cloud.githubusercontent.com/assets/7189823/17112118/9f06fe04-5272-11e6-83e9-ddf11573aa5e.png) Closes facebook#8951 Differential Revision: D3647816 Pulled By: mkonicek fbshipit-source-id: e0349275045cae2922b4bb43bcb99af4c6ef1170
Motivation #7760
Test plan
Build from source with a gif image, everything works fine.
However, i'm not sure about the BUCK part. While building I saw the dependencies I added being downloaded, but the app built with BUCK doesn't support gif. Maybe someone with more experience with BUCK than me can check this?