Create an icns file for macOS and an ico file for Windows
- Created with .NET Core 5.
- Runs on Windows, macOS, and Linux.
- ICO is compatible with Windows Vista and later.
- ICNS is compatible with OS X Mountain Lion (10.8) and later.
cd AppIconConv
dotnet restore
dotnet build
dotnet publish -r win-x64
dotnet publish -r osx-x64
dotnet publish -r linux-x64
-
-s, --source
Required. Path to the image file to be converted, or the path to the folder where the image file is stored.
-
-t, --type (Default: BOTH)
Type of icon to output.
- ICO
- ICNS
- BOTH
-
-d, --destination
Path to the output.
If you have prepared the image files of the required size in advance:
appiconconv -i [image collection directory] -t [ICO | ICNS | BOTH] -o [output directory]
To create from a single image file:
appiconconv -i [image file] -t [ICO | ICNS | BOTH] -o [output directory]