jessyink-team team mailing list archive
-
jessyink-team team
-
Mailing list archive
-
Message #00008
Re: PNG output extension
Dear all,
thanks to Hannes for the introduction! My changes can be found in
lp:~marc.eberhard/jessyink/branch_marc and in addition to what Hannes
already described, it is also possible to add a new slide.
I used the following keys:
- 0 - Reset the line width to default (3) in slide mode, otherwise reset
INDEX_COLUMNS to default
- 1 to 9 - Set line width to 1 to 9 pixels
- B - Set line colour to blue
- C - Set line colour to cyan
- D - Set duration of presentation in minutes
- G - Set line colour to green
- K - Set line colour to black
- M - Set line colour to magenta
- N - Add new empty slide. The master slide will be copied into the new
slide to maintain a consistent appearance. Title is set to "Whiteboard X"
with X being 1, 2, 3, etc, counting up from 1. The page number is set to W1,
W2, W3, etc
- O - Set line colour to orange
- P - Toggle visibility of progress bar between on and off (default is
off)
- R - Set line colour to red
- T - Reset presentation timer to 0 (starts again from the bottom left)
- W - Set line colour to white
- Y - Set line colour to yellow
- Z - Undo changes, one at a time
The presentation can be saved from Firefox and it is possible to open this
file again both with Firefox and Inkscape. All changes to the presentation
are persistent, again both in Firefox and in Inkscape. When opening the file
in Inkscape, there is a new layer "JessyInk Presentation Layer", which is by
default visible. All other layers are invisible. This layer can simply be
deleted to reduce the file size back to the original file! All changes to
the slides are recorded in the original slides as well, so removing the
presentation layer does not loose anything.
As a further extension, it would be nice to implement a save function, which
can send the modified file back to the server. The assumption here is that
the file was loaded from an http:// or https:// URL and can be sent back via
an asynchronous XMLHttpRequest or synchronous PUT request. I would probably
implement the server side as a Tomcat servlet, but any upload mechanism
should really work.
Greetings from England,
Marc
2009/6/7 Hannes Hochreiner <hannes@xxxxxxxxxxxxxx>
> Dear all,
>
> I would like to seize the opportunity to welcome Marc as a new member of
> the JessyInk team! Marc added some very neat features to JessyInk that he
> agreed to contribute. One feature is a new PNG export extension, which is
> based on the PDF export extension. Another one is a timing function
> including a progress bar, showing how far into the presentation the
> presenter is and whether they are running behind or ahead of schedule. The
> feature that got me most excited however, is the ability to draw on the
> slides! Using FireFox and the "Save" "webpage complete" makes it even
> possible to save these changes. This last feature made some changes to the
> JessyInk script necessary (essentially preserving a copy of the old slides
> as they were before the JessyInk initialisation). Anyways, I hope Marc or
> myself have time to document these proposed changes in more detail to get
> the input of other people as well. For now I would like to thank Marc for
> his work and should I have forgotten something or described it incorrectly,
> please feel free to correct me!
>
> I just had a few minutes, so I pulled the PNG output extension from Marc's
> branch. I added an option to choose the resolution of the PNG and I removed
> the "export-background" option, so that the PNG is exported with the
> background color currently selected (although this might lead to confusion
> with some users, as Inkscape opens new documents with a transparent
> background by default). You are welcome to review the changes. They can be
> found at lp:~hannes-hochreiner/jessyink/png-output . If you happy with them,
> I'll merge them into the trunk.
>
> Cheers,
> Hannes
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~jessyink-team<https://launchpad.net/%7Ejessyink-team>
> Post to : jessyink-team@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~jessyink-team<https://launchpad.net/%7Ejessyink-team>
> More help : https://help.launchpad.net/ListHelp
>
--
________________________________________________________
email: m.a.eberhard@xxxxxxxxxxx, marc.eberhard@xxxxxxxxxxxxx
web: http://www.aston.ac.uk/~eberhama/
References