Icon Generator will quickly convert an SF Symbol or Emoji to .png for use in workflows. It has some nice options for adjusting appearance including a configurable colour palette.
Download: GitHub | Alfred Gallery
- SF Symbols - https://developer.apple.com/sf-symbols/
- ImageMagick (available via Homebrew)
- Pillow for Python (available via Homebrew)
(Note: the latter two dependencies can be handled by Alfred if you are installing through the Alfred Gallery)
Start by copying an emoji, or an icon in the SF Symbols app.
Convert it to PNG with the icon generator keyword. The result will be in your clipboard.
Alternatively, select the emoji or icon and use the Universal Action.
You can then paste directly into Alfred.
Hold option when running Icon Generator to configure the icon's appearance
The SF Symbols portion of this workflow was originally adapted from work by Mark Gavin - https://labs.appligent.com/pdfblog/convert-sf-symbols-to-images/
This wouldn't be possible without the help of user Vitor from the Alfred forum.