Skip to content

Create an icns file for macOS and an ico file for Windows

License

Notifications You must be signed in to change notification settings

bubio/AppIconConv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AppIconConv

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.

Build & Publish

Build :

cd AppIconConv
dotnet restore
dotnet build

Publish :

Windows

dotnet publish -r win-x64

macOS

dotnet publish -r osx-x64

Linux

dotnet publish -r linux-x64

Usage

Options

  • -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.

Examples

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]