Resize an image, selected in Finder, to a target width by respecting image ratio.
Select an image in Finder, open Alfred and enter rimage and enter a value for the target width, e.g. rimage 300. The image will be resized to target width by respecting ratio. Works with .jpg and .png.
Seems to be an issue with Image Events under Catalina: https://forums.developer.apple.com/thread/124420
To fix there is a simple solution: https://darjeelingsteve.com/articles/Fixing-"Image-Events"-AppleScripts-Broken-in-macOS-10.15-Catalina.html