08 Oct '17, 12pm

PDF Filter Implementation in HexaPDF Using Fibers #ruby #rails

objects basically just store a reference to an IO object, an offset and a length. When asked for the data, i.e. when a stream needs to be read and decoded, it returns an object that reads the raw data in chunks to avoid huge memory use when possible. The raw stream data is then passed through the filters specified by the stream dictionary to get the decoded stream data. Since the raw data is read in chunks, it means that the filters need to be aware of that, too. Otherwise the benefits of reading in chunks is wasted. Finally, if the whole stream data is needed at once, it is read as described above but concatenated into one huge string.

Full article: https://gettalong.org/blog/2017/pdf-filter-implementation...

Tweets

Implementation of PDF Streams and Filters in He...

rubyflow.com 07 Oct '17, 1pm

× The Ruby and Rails community linklog Made a library? Written a blog post? Found a useful tutorial? Share it with the Rub...

Ruby & Ruby on Rails Tutorial

dev.codetrick.net 08 Oct '17, 5pm

Want to learn about Ruby, the language specifically designed to make developers’ lives easier? Spend some time with the ex...

Ruby on Rails Web Services and Integration with...

coursera.org 09 Oct '17, 8am

In this course, we will explore MongoDB, a very popular NoSQL database and Web Services concepts and integrate them both w...

A very quick and short guide to using ActiveRec...

rubyflow.com 07 Oct '17, 12pm

× The Ruby and Rails community linklog Made a library? Written a blog post? Found a useful tutorial? Share it with the Rub...

Versioning REST APIs: The Theory and Using Grap...

rubyflow.com 06 Oct '17, 5pm

× The Ruby and Rails community linklog Made a library? Written a blog post? Found a useful tutorial? Share it with the Rub...