CloseableAnimatedImage can return a bytes ?
I want to use my custom gif view,so i need a bytes.
The bytes of an individual frame, or of the entire animation? We only expose the individual frames.
What is your custom GIF view? Why do you need the bytes? Can you try using manual playing?
Thanks for reply, I had understand.but I have another problem, My network is very bad and my GIF image is more than 2M,when imageview is loading image,I want to get a progress value to show to user.But I can not found anything about this on the docs.
I would suggest not to make your users download a 2M image over a bad network!
We do have support for showing a progress bar: http://frescolib.org/docs/progress-bars.html#_
Is there a way to know the size of an image just before downloading starts?
No. Unless your server has another uri you can use to query it.