load slide image on-demand
authorHiltjo Posthuma <hiltjo@codemadness.org>
Sat, 4 Jun 2016 14:33:15 +0000 (16:33 +0200)
committerMarkus Teich <markus.teich@stusta.mhn.de>
Sat, 4 Jun 2016 15:26:50 +0000 (17:26 +0200)
commit44a50ad94828d6375ebba9560109d06e9a163e5d
tree9d89cd95bf56724e203c41fdb90be64f202e6cc1
parent27a904c1dd40d185dd5123ca354f6080e853ec92
load slide image on-demand

previously an image file would be opened but only ffread when advancing to
the slide, but when the slide was not used it gave an error:

/usr/local/bin/2ff: failed to convert image/png

this changes it to load the image on-demand once and "cache" it.
sent.c