I’m trying to crop the image below using a disk-shaped mask. ImageTrim documentation suggests that using a Disk object for masking is supported. However, when I use the following, it trims the image in a square rather than a disk:
ImageTrim[image, Disk[{375, 375}, 300]]
I appreciate any suggestions on how to crop the image to a circle.
Images are always rectangular. Perhaps what you want is to replace the dark areas around the disk with an alpha channel that will make it transparent. You can use RemoveBackground to do that. Using the image provided