We're Hiring!

Retrieving OMEMetadata of an image using blitz API

General and open developer discussion about using OMERO APIs from C++, Java, Python, Matlab and more! Please new questions at https://forum.image.sc/tags/omero
Please note:
Historical discussions about OMERO. Please look for and ask new questions at https://forum.image.sc/tags/omero

If you are having trouble with custom code, please provide a link to a public repository, ideally GitHub.

Retrieving OMEMetadata of an image using blitz API

Postby ofuica » Mon Oct 03, 2016 9:43 am

Hello,

I would like to get the original OME-XML metadata of an image using Blitz java api.

Now I am using the Exporter service (ExporterPrx) and generating a XML by calling generateXml() function and from this XML create a OMEXMLMetadata object. I found the resulting metadata using this procedure does not contain the entire or original meta information. (Comparing with a downloaded tif file and see its metadata).

I was looking for in the documentation and I did not find any way to do this. Is there a easy way?
Of course i did not consider fill the xml manually.

Thanks.
ofuica
 
Posts: 4
Joined: Mon Apr 11, 2016 11:22 am

Re: Retrieving OMEMetadata of an image using blitz API

Postby Dominik » Tue Oct 04, 2016 9:19 am

Hi,

yes, the metadata from the exporter service is not complete, and unfortunately there's no way yet, to retrieve the full/original OME-XML via the Java API (but this feature is on our ToDo list). A workaround would be to use a server-side script to parse out the OME-XML from the original file.

Regards,
Dominik
User avatar
Dominik
Team Member
 
Posts: 149
Joined: Mon Feb 10, 2014 11:26 am


Return to Developer Discussion

Who is online

Users browsing this forum: Bing [Bot] and 1 guest

cron