bumptech/glide

hi, how to get gif duration at glide 4.+

Open

#2,151 创建于 2017年7月20日

在 GitHub 查看
 (3 评论) (4 反应) (0 负责人)Java (35,023 star) (6,176 fork)batch import
GIFenhancementhelp wanted

描述

At glide 3.+,we may get duration like this GifDecoder decoder = resource.getDecoder(); if(decoder!=null){ int duration; for(int i=0;i<decoder.getFrameCount();i++){ duration+=decoder.getDelay(i); } } so ,i want to ask how to get duration at 4.0

贡献者指南