Try
gmic median_files *.tif normalize 0,65535 round output output.tif
– Newer versions of G’MIC don’t require - in front of commands.
– Unlike ImageMagick, you need to use the command output to output files.
– I typically normalize or cut and then round to prevent the need for ushort.