ome / omero-figure

An OMERO.web app for creating Figures from images in OMERO
http://figure.openmicroscopy.org
GNU Affero General Public License v3.0
15 stars 30 forks source link

figure file format and export #438

Open will-moore opened 3 years ago

will-moore commented 3 years ago

Currently, OMERO.figure files are stores as JSON files, in a format described at https://github.com/ome/omero-figure/blob/master/docs/figure_file_format.rst but we don't have a schema to define this.

To view a figure in any external application or web page, the figure must be exported to PDF or TIFF, using python code in the server-side script at https://github.com/ome/omero-figure/blob/master/omero_figure/scripts/omero/figure_scripts/Figure_To_Pdf.py

Current issues:

One option worth exploring is to save figures as svg, along with necessary metadata (e.g. in desc tags) to allow opening again in OMERO.figure.

https://inkscape.org/learn/faq/#about-svg

cc @jburel

joshmoore commented 3 years ago

Saving as an SVG is certainly a very "standards-compliant" way of doing it. After seeing @mutterer's presentation, I also wonder if this wouldn't take us a step closer to being able to "embed" an OME-Zarr within the SVG. cc: @manzt