node-mapnik icon indicating copy to clipboard operation
node-mapnik copied to clipboard

WIP: Chunked image encoding

Open talaj opened this issue 8 years ago • 1 comments

An attempt to implement https://github.com/mapnik/node-mapnik/issues/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 avatar Aug 29 '17 21:08 talaj

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?

flippmoke avatar Jan 22 '18 18:01 flippmoke