Actions for macOS
This shortcut uses Actions for macOS' Get File Icon action to extract the icon images of apps, folders, and files as .pngs.
Get File Icon