Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jrob774/makeicon

Cross-platform command-line utility for generating app icons.
https://github.com/jrob774/makeicon

command-line command-line-tool cpp cpp17 ico icon makeicon tool utility

Last synced: about 3 hours ago
JSON representation

Cross-platform command-line utility for generating app icons.

Awesome Lists containing this project

README

        

# makeicon

![build](https://github.com/jrob774/makeicon/actions/workflows/build.yaml/badge.svg)

```
makeicon [-help] [-version] [-resize] [-platform:name] -sizes:x,y,z... -input:x,y,z... output
```

A command-line utility for generating application icons for **Windows**, **iOS**, **MacOS** and **Android**.

### Example Usage

```
# Generating an .ico file on windows
makeicon.exe -input:./assets/source/icon.png -sizes:256,128,64,32 -resize ./assets/built/icon.ico
```

## Building

The makeicon application is simple and can be compiled from the command-line.

### Windows

```
cl -EHsc -std:c++17 -I third_party/stb makeicon.cpp -Fe:makeicon.exe
```

### MacOS

```
clang++ -std=c++17 -I third_party/stb makeicon.cpp -o makeicon
```

### Linux

```
g++ -std=c++17 -I third_party/stb makeicon.cpp -o makeicon
```

## Releases

There are prebuilt binaries available for both Windows and MacOS, these are available
in the `binaries` folder if you wish to include this project in your codebase as a
submodule. These binaries are always the latest version. There are also versioned
binaries available for download from this repository's releases tab.

## License

This project is available under the MIT License, Copyright (C) Joshua Robertson 2021 - 2023.