spillerrec / imgviewer

Customizable image viewer with minimalistic interface
2 stars 1 forks source link

Add some form for file reader #51

Open spillerrec opened 8 years ago

spillerrec commented 8 years ago

Currently AReader only accepts a memory buffer as input, so the entire file has to be loaded before decoding can start. This is certainly not optimal. Find some way to support loading a stream of data.

We could use QIODevice, but I would like to stay clear of Qt if possible. Then again, we are using QImage, so there might not be much of a point in not using Qt. We should look into how the libraries accept streaming data, and try to find an approach which matches this the most.