I'm working with an app based on Gif and after several weeks I noticed that the Gifs needed to be compressed in order for my app to run more smoothly. The problem is that I don't know how to compress the gifs that are stored on the Firebase Storage. Is there a way?
Asked
Active
Viewed 387 times
0
-
1Do you mean that they take a long time to download? You can always try to size them down. Gifs aren't made for quality, they're made to have a low number of colors and pixels. – KTibow Apr 27 '20 at 20:22
-
Yes, my app takes a lot of time loading the gifs in the UIImageView. – demonisback Apr 27 '20 at 20:24
-
If it's user-generated pictures, I'd recommend WebP for its image size. – KTibow Apr 27 '20 at 20:27
1 Answers
1
Compressing a GIF that is stored in Storage consists of these steps:

Frank van Puffelen
- 565,676
- 79
- 828
- 807
-
-
-
But if my Storage contains a lot of gifs like more than a thousand, how can I make it to compress one by one? – demonisback Apr 28 '20 at 02:49
-
Step 0: get a [list of the files](https://firebase.google.com/docs/storage/ios/list-files), and loop over them. – Frank van Puffelen Apr 28 '20 at 04:15