if your images are large, you may need to set a larger temp directory on a different disk. set this env variable in a unix-like shell or similar. git bash works well.
export MAGICK_TEMPORARY_PATH=D:\tempconvert a .tif to .jpeg while also scaling the height and width by half
magick mosaic.tif -resize "50%" mosaic.jpegconvert without any resizing
magick mosaic.jpg mosaic.avifcrop
magick mosaic.tif -crop "65500x5000+0+26500" mosaic8.jpg