I wrote a script that downloads images (a sequence of weather maps) from the internet and displays them using Image.show. It works fine. But the images are not zoomable.
So I wrote an html module which takes a list of these maps (the paths to them) and displays them in the webbrowser module in a slideshow - which is zoomable. Each map is loaded by inserting its path in the form
file:///var/mobile........filename.png
using forward/backward buttons and a bit of javascript which changes the html.
All that works fine too.
BUT the maps take ages to load in the webbrowser - much slower than they all appear on the console with Image.show. Slower than loading an image from the internet! It's OK once they've been displayed once (ie they're cached I suppose) but it's painful waiting for them as I click through the slideshow.
Can anybody suggest why the browser is so slow doing this, and whether I can do anything to speed it up? It ought to be fast loading an image from memory. It might be the javascript - but there's not much of it.