Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在本地设备上存储了一些视频。我想用毕加索来处理视频缩略图和图像。我怎么能做到这一点?
似乎我只需要创建我的自定义Hunter喜欢VideoHunter并使用它们Bitmap从InputStream. 但是我没有找到任何方法来设置我的自定义猎人。
Hunter
VideoHunter
Bitmap
InputStream
或者 fork library 和 modifyBitmapHunter.forRequest 是在 Picasso 中处理视频缩略图的唯一方法?
BitmapHunter.forRequest
恐怕为时已晚,但仍然:Android 的 Glide 库能够仅从 URI/File 加载视频缩略图,与图像的方式几乎相同。
所以你需要做的就是:
Glide.with(Context) .load(videoFile) // or URI/path .into(imageView);