Skip to content
This repository has been archived by the owner on Apr 8, 2024. It is now read-only.

How to transcode multiple images? #224

Open
umsun-jake opened this issue Sep 24, 2020 · 2 comments
Open

How to transcode multiple images? #224

umsun-jake opened this issue Sep 24, 2020 · 2 comments

Comments

@umsun-jake
Copy link

No description provided.

@wizh
Copy link
Contributor

wizh commented Sep 24, 2020

Hi! Could you please provide some more details for what you are asking?

@umsun-jake
Copy link
Author

Hi! Could you please provide some more details for what you are asking?

I want transcode multiple images parallel.

            Flowable.fromIterable(images)
                    .parallel()
                    .runOn(Schedulers.computation())
                    .map { spectrum(it) }
                    .sequential()
                    .toList()

This result is wrong images. (same images)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants