Page 1 of 1

Retrieving OMEMetadata of an image using blitz API

PostPosted: Mon Oct 03, 2016 9:43 am
by ofuica
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.

Re: Retrieving OMEMetadata of an image using blitz API

PostPosted: Tue Oct 04, 2016 9:19 am
by Dominik
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