bumptech / bumptech/glide

Load several images into one view (with some "combine" function)

Open
#514 11 comments 10 reactions 0 assignees View on GitHub
feature
Dominant language
Java
Stars
35k
Forks
6.2k
Avg merge
1d 11h
Merged PRs (30d)
8

Description

Hi. I looked through this library and didn't find out such feature.
Let me explain by example:
1) I have a ListView/RecyclerView. The content is similar to any messaging application.
2) There is an avatar. But we don't have only one person to talk with, we also have "group chat".
3) Each participant have the avatar. For example, there will be a chat of 3 people, and avatar must be a combination of 2 other participants (excluding "me").
4) I want to start loading both 2 images, which are bounded to Target/ImageView.
5) I want to merge them into one someway.

Or I can simply show the pseudo-code:

``` java
Glide.with(this)
.load(Arrays.asList("http://image1", "http://image2"))
.merge(new ImageMerger() {
public Bitmap merge(List, ) { /* merge by any way */ }
})
.into();
```

Is there any possibility to do smth like that? If yes, let me know how and where to looking at. I can write such function and make pull-request.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.