Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Chunked image encoding #799

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

talaj
Copy link
Member

@talaj talaj commented Aug 29, 2017

An attempt to implement #793.

Encoding runs on a separate thread, encoded chunks are stored into a queue and yielded into the main thread.

See added unit tests.

@talaj talaj mentioned this pull request Aug 30, 2017
@talaj talaj force-pushed the image-encode-chunked branch from 7a92a2e to c553d8a Compare August 30, 2017 14:12
@talaj talaj force-pushed the image-encode-chunked branch 3 times, most recently from 779358f to 4698ba4 Compare September 30, 2017 20:45
@flippmoke
Copy link
Member

Thinking about this again, would this make more sense to design something similar to node streams? https://nodejs.org/api/stream.html#stream_class_stream_readable. This could enable more generic IO systems to be built from this interface perhaps?

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

Successfully merging this pull request may close these issues.

2 participants