Two approaches that should be feasible:
(1) Upon suspend, check for the existence of an image file having the same base name as the last read book (from reader.pref) but an image extension (png, gif, jpg), and if found, use that as the screen saver. (Obviously, that image has to come from somewhere, maybe from (2) below, would also have the advantage of having proper size and palette).
(2) In the currently read book, go to the cover page, make a screenshot, and have some mechanism to use this screenshot as the screen saver.
Not sure about the details, though...
|