OMERO.figure Update

10th February 2015

Will Moore

Main New Features

Since 1.0.0 release, Oct 2014

  • Multi-page figures
  • Crop to ROI
  • Scalebar Labels
  • Sync Magnification
  • Units Support

More Paper Sizes

  • First external PR! (Yohan Jarosz)
  • Extra sizes: A0, A1, A2, A3
  • E.g. Make a poster!

Multiple pages

Crop panels to region/ROI

Scalebar Labels

Align Magnification

OMERO 5.1 support

  • OMERO.figure works with 5.0 and 5.1 servers
  • json API unchanged
  • Units support:
    • Pixel Size units are read, stored & used...
    • Currently assuming planeInfo.deltaT is seconds

planeInfo.getDeltaT().getValue()  # 5.1 returns omero.model.TimeI

planeInfo.deltaT.getValue()       # same for 5.0 & 5.1
                    

OMERO 5.1 Pixel Size Units

  • New Images store pixel size UNIT & Symbol
    • E.g. 'MICROMETER', 'µm'
  • Symbol used for scalebar (user can't change this)
  • Conversion needed for 'Align Magnification'
/figure/unit_conversion/1230.49/ANGSTROM/MICROMETER/
{
    symbol: "µm",
    unit: "MICROMETER",
    value: 0.123049
}

Also fixed...

  • Unicode support (utf8 encoded on save)
  • Escape HTML, using 'underscore' library
    
        _.escape("<script>")
    
    
  • Panel background color is white in Web & PDF export

Plan to release after 5.1

  • Release will be 1.1.0 (no point releases since 1.0.0)
  • Currently updating OMERO.figure Testing Scenarios
  • Would love to have... 5.0 AND 5.1 test server jobs