Export images

The CLI export command allows you to export data in XML and OME-TIFF formats from an OMERO.server using the command line.


Visit Overview to get a basic overview of the CLI.


Visit Installation to install the CLI.

Export command

Currently the export command only supports OME-TIFF, respectively XML.

To export an image as OME-TIFF as file image.tif, use:

$ omero export --file image.tif Image:<id>

To export its metadata as file image.xml, use:

$ omero export --file image.xml --type XML Image:<id>

Some of the options available to the export command are:

--iterate Dataset:<id>

Iterate over an object and write individual objects to the directory named by –file (EXPERIMENTAL, the only supported object is Dataset:<id>)

$ omero export –file output-dir –iterate Dataset:<id>