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:\temp
convert a .tif to .jpeg while also scaling the height and width by half
magick mosaic.tif -resize "50%" mosaic.jpeg
convert without any resizing
magick mosaic.jpg mosaic.avif
crop
magick mosaic.tif -crop "65500x5000+0+26500" mosaic8.jpg