View Slides
see more templates or propose new |
Description & Goals
The View Slides activity is meant to allow the XO laptop to read view the contents of a Zip file containing images named sequentially. Project Gutenberg has a few books as raw scanned images, and this can be a useful format for picture books, comic books, magazine articles, photo essays, etc.
The interface to View Slides is similar to the core Read activity, which should not be surprising as the toolbar code was adapted from Read's toolbar. You can use the up and down arrows or the game controller to move from page to page.
The image files can be JPEGs, GIFs, TIFFs, or PNGs. Currently they must be in the root of the Zip file. To make a file like this create some image files and name them sequentially:
image001.jpg, image002.jpg, image003.jpg, ...
In Linux you can create the file with the zip command:
zip bookname.slides *.jpg
will create a file named bookname.slides and put all the JPEGs in the current directory in it. You don't have to use the suffix .slides for your filename. I use that suffix because it reminds me of the purpose of the file. The XO will recognize the file as a Zip file no matter what you name it.
A file you can use to try out View Slides can be downloaded here.
Screenshots
Current Features
Planned Features
- I plan to add the sharing code from the core Read activity to this one. I'm currently working on setting up a test environment for testing sharing.
- I will add the power management code from Read to this activity, where hopefully it will work with few changes. I have an actual XO laptop to test this with, but I could use some assistance figuring out what the code is doing and how to figure out if what it wants to do is actually getting done.
Bugs
Activity .xo file
- ViewSlides.xo v.1
Source
http://dev.laptop.org/git?p=activities/view-slides