Generate pixel-perfect macOS folder icons in the native style
...Automatically includes all icon sizes from 16x16 through 512x512@2x. Light or dark mode (automatically selected by default). There is currently no simple way to set an icon that will automatically switch between light and dark when you switch the entire OS. You can only assign one version of an icon to a folder. Dark color scheme is only supported for macOS 11.0 (and later) right now. Make sure the corner pixels of the mask image are transparent. They are used for empty margins.
...Silva), available at https://github.com/six519/PastebinPython.
The program icon is from the Flat UI icon set by Designmodo (http://designmodo.com), licensed under Creative Commons Attribution 3.0 Unported (CC BY 3.0) (http://creativecommons.org/licenses/by/3.0/).