This is an investigation into the feasibility of using svg file as a new OMERO.figure file format (see #438).
Aims to test:
1 Generation of svg in JavaScript, starting with an existing OMERO.figure json file.
2 Download of that svg from the browser (with embedded images).
3 Opening of that svg in a browser
4 Opening of the svg in another app (e.g. Inkscape or Adobe Illustrator).
5 Eventually, reading that svg in JavaScript to return to the OMERO.figure json (or a JavaScript model equivalent to the existing Backbone figureModel that can be updated in the OMERO.figure app).
To test, save a figure, then replace /file/ with /svg/ in the URL (see screenshot).
This gives a page showing the SVG and a button to download.
Currently, lots of the svg generation is not done, and things look different in the browser vv Inkscape but in principal it works.
This is an investigation into the feasibility of using
svg
file as a new OMERO.figure file format (see #438).Aims to test:
figureModel
that can be updated in the OMERO.figure app).To test, save a figure, then replace
/file/
with/svg/
in the URL (see screenshot). This gives a page showing the SVG and a button to download. Currently, lots of the svg generation is not done, and things look different in the browser vv Inkscape but in principal it works.