Created
April 7, 2016 15:32
-
-
Save sbesson/79a73ad1c04595c337d924709cb0de6d to your computer and use it in GitHub Desktop.
A simple script for extracting the OME-XML version from an OME-TIFF file - assumes valid OME-TIFF / no exception handling
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| parser = loci.formats.tiff.TiffParser(ometiffpath); | |
| service = loci.formats.services.OMEXMLServiceImpl(); | |
| version = char(service.getOMEXMLVersion(parser.getComment())) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Great thanks. I don't suppose you happen to know the OMERO api equivalent off the top of your head?