disk image resize
I have a disk image (DMG) that I originally allocated 100 GB, but I am not trying to free up space and want to resize the DMG to 50 GB. When I go into Disk Utility and enter the password for the DMG, I get the following errors: "Image resize failed. The selected disk image can not be resized" (when unmounted) and "The selected disk image can not be resized. Resource temporarily unavailable" (when mounted). Any suggestions on how to scale back this DMG to open up more space on my Mac would be appreciated!
MacBook Pro 13″, macOS 12.2