On 12/09/2017 03:02 PM, Peter P. wrote:
Just curious. Why is it a design failure,
it combines three unrelated things:
- taking snapshots from the current framebuffer
- generating filenames
- saving pixes to disk
which alternatives should be used?
[pix_snap] + [pix_buffer] + [makefilename]
So [pix_write] cound become an abstraction that holds the above objects maybe.