View Slides: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
 
(62 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Activity migrated to sl.o
{{Translations}}
| download=http://activities.sugarlabs.org/en-US/sugar/addon/4039

| git=http://git.sugarlabs.org/projects/viewslides
{{Olpcboxtop|toptext=[[{{PAGENAME}}|View Slides]]}}
| homepage=http://wiki.sugarlabs.org/go/Activities/View_Slides
{{ OBX activity |[[Image:Viewslides.svg]]||2=extra|Version 1 }}
| icon=[[Image:viewslides.svg]]
{{ OBX source dev|activities/view-slides}}
}}
{{ OBX test |[[Tests/ViewSlides|ViewSlides]]<!--|2007-09-18--> }}
{{ OBX devtickets |view-slides}}
{{ OBX pootle|}}
{{ OBX team |James Simmons}}
{{ OBX mimetypes |application|zip }}
<small>see more [[:Category:OBX templates|templates]] or [[OBX proposals|propose new]]</small>
{{Olpcboxbottom}}

== Description & Goals==
{{Users}}

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 [http://www.gutenberg.org/files/21078/21078-page-images.zip here].

== Screenshots ==

{|style="border: solid 1px gray; margin: 1em auto 1em; auto"
|-
| valign="top"|
[[Image:LaunchViewSlides.jpg|thumb|center|Launching the Activity from the Journal]]
| valign="top"|
[[Image:ScreenViewSlides.jpg|thumb|center|The View Slides Activity in action]]
| valign="top"|
[[Image:Screen2ViewSlides.jpg|thumb|center|The View Slides Activity, showing scanned text]]
|}

== 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 ==

* [[media:ViewSlides-1.xo|ViewSlides.xo]] v.1


{{Developers}}

== Source ==

http://dev.laptop.org/git?p=activities/view-slides

[[Category:Software]]
[[Category:Developers]]
[[Category:Sugar]]

Latest revision as of 15:55, 19 June 2009

?Sugar icon}}    This activity is now hosted at the Sugar Activity Library.

The information here is likely to be out-of-date. Consult the new pages for "View Slides" first: