glide
glide copied to clipboard
How do play a GIF from a specified location?
like this : gifDrawable.startFromFrame(int frameIndex);
i will work on this issue
i solved this issue and in the following hours i will push it in my repo!
i have forked and pull request for my changes for this issue the main think is that you must first use AnimatedGifDecoder for getting all the frame of a gif as an arraylist and encode theses gifs from the specified frame!
https://github.com/AlirezaEiji191379/glide/tree/issue_4565/third_party/gif_encoder/src/main/java/com/bumptech/glide/gifencoder/gif_frame
https://github.com/AlirezaEiji191379/glide/tree/issue_4565/third_party/gif_encoder/src/main/java/com/bumptech/glide/gifencoder/gif_frame
Thank you. It might be helpful. I need to study it
I am desperatly looking for the solution to resize gif files to 512x512 Glide is easy to us for static but it is confusing for animated gifs No artile or stackoverflow quetsion answers regarding this. IF you can give a idea about reszing the gif (centerfit with transparancy ). I dont wnat to display but save as gif file.