OpenWetWare:Software/Image Editor

From OpenWetWare
Jump to: navigation, search

Current wiki limitations with regards to images

  • Images are handled as a bunch of pixels in mediaWiki (through standard such as PNG, JPEG, GIF ...).
  • No easy way to update/edit an image from the wiki. Static piece of information if you don't have a suitable editor to modify the image.
  • No way to have a look at differences between versions of a given image.

A new way to handle images/drawings

  • Use a text-based drawing language to benefit from the wiki history mechanism.
  • provide within the wiki a way to view/edit the image/drawing.

Proposed architecture

  • Drawing description would be SVG based and stored on a standard wiki page.
  • PNG, JPEG, GIF images can be handled within SVG.
  • Java Applet embedded into the wiki page where the image has to be shown.
  • The applet can switch back and forth between two modes (Viewing/Editing). Once edited, the new SVG file can be saved on its Wiki page.


  • Can be used to replace powerpoint-like graph.
  • allow collaborative annotations over real experimental data (gels, culture plates, random pictures).

Related projects


  • this xml-type/applet-based architecture could be easily extended to other features (graph, gene annotations, ...)

Road Map

Specifications for OWW Image Editor V1


  • Applet based.
  • SVG handled by Batik library
  • Display PNG, JPEG, GIF, Tiff images.
  • Display SVG graphics.
  • No animation handled.
  • Read and display SVG files from a pre-existing OWW pages.
  • No editing capabilities.

Specifications for OWW Image Editor V2


  • Based on Version 1.
  • Define an editing mode to update SVG source file.
  • Enable to add, delete, scale Ellipses.
  • Enable to add, delete, scale Rectangles.
  • Enable to add, delete, scale Text in a unique color.
  • Can save changes on the OWW page.

Specifications for OWW Image Editor V3


  • Based on Version 2.
  • Enable multiple colors.
  • Can create OWW page if the SVG file doesn't exist yet