Glencoe has released a statement regarding the conversion of complex formats to pyramidal ome.tiff
https://www.glencoesoftware.com/blog/2019/12/09/converting-whole-slide-images-to-OME-TIFF.html
In 2022, Glencoe released a standalone application which makes it easy to convert any to the OME-NGFF file format, or to OME-TIFF:
Because QuPath do not read OME-NGFF dataset, we recommend to convert to OME-TIFF currently (2022/11/11). This can be done with the OME-NGFF Converter.
There are two issues however with the Glencoe conversion which makes other options still valid:

Kheops is a tool written by the BIOP which can be an alternative to the OME converter. It is highly efficient for exporting many images in parallel, and computes an averaging over pixels when downscaling. It is also very memory efficient in its process.
HOWEVER, currently all metadata except the pixel size are lost. Also, it won't convert MRXS files.
Before the above tools (Glencoe, Kheops) were available, there was a way to convert any bio-formats supported file or MRXS to OME-TIFF, but it requires some extra installation. The advantage over other options is not clear.
The Glencoe protocol describes a two-step process.
bioformats2rawraw2ometiffThe need for the two separate protocols seems to stem from licensing and dependencies on separate vendor-specific libraries.
Because this protocol makes use of very modern file storage and compression systems, there is a dependency on a tool called
c-blosc
c-bloscThe procedure is described in https://github.com/glencoesoftware/bioformats2raw (and re-summarized here):
blosc.dll and place it in a fixed location (for instance C:\path\to\blosc\folder)JAVA_OPTS which value is set to -Djna.library.path=C:\path\to\blosc\folderc-blosc can also be compiled, see legacy documentation below and readme of https://github.com/glencoesoftware/bioformats2raw
bioformats2rawUnzip this somewhere
https://github.com/glencoesoftware/bioformats2raw/releases
raw2ometiffUnzip this somewhere
https://github.com/glencoesoftware/raw2ometiff/releases
Add the two unzipped bin folders to your PATH system environment variable so you can call these two functions from anywhere. Alternatively, you can set the path explicitly in the provided groovy script:
//bf2rawPath = "bioformats2raw.bat"
//raw2ometiffPath = "raw2ometiff.bat"
bf2rawPath = "C:/whatever/.../bioformats2raw.bat"
raw2ometiffPath = "C:/whatever/.../raw2ometiff.bat"
You can use the bf2ometiff gist and click batch to batch convert your files.
Example: Dataset called D:\ToConvert\Kidney.mrxs which is RGB
bioformats2raw.bat --resolutions=4 D:\ToConvert\Kidney.mrxs D:\ToConvert\Kidney
Other arguments are available with bioformats2raw.bat --help
Converting to OME.TIFF
raw2ometiff.bat --compression="JPEG-2000" --rgb D:\ToConvert\kidney D:\ToConvert\Kidney.ome.tiff
RGB images must be explictely concerted using the
--rgbflag. Otherwise it will be a 3 channel image.
c-blosc from sourceDownload Build Tools for Visual Studio 2019
Install the packages
MSVC v142 - VS 2019 C++ x64/x86 build toolsWindows 10 SDK (10.0.18362.0)Download CMake (msi installer) and install with checking Add CMAKE Path to all users.
If you followed the StarDist with gpu-tools installation, you have all the prerequisites except for CMake. Otherwise please follow the installation of the StarDist Prerequisites
C:\ drive called Dev Toolscd c-blosc
mkdir build
cmake -DCMAKE_INSTALL_PREFIX="C:\Dev Tools"
cmake --build . --target install