RepositoryC#
koryboc

koryboc/ImageToIcon

:rowboat: Cross-platform tool for turning any image into a multi-size icon set

219stars
24forks
0issues
4views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: favicon-generator

#1 Repository of the week

1
TINIX TRENDING·Topic: image-resizer

#1 Repository of the week

1
TINIX TRENDING·Topic: ico

#1 Repository of the week

ImageToIcon

.NET C# Avalonia Platform License

Open Issues Last Commit Release

ImageToIcon is a small cross-platform tool for turning any image into a multi-size Windows .ico file. Drop in a single picture and it generates all the standard icon sizes at once, with clean Lanczos downscaling — no wizard, no upsell, no bundle of proprietary editors.

Every icon workflow used to mean juggling three tools: one to resize, one to compose, one to export. ImageToIcon collapses that into one window and one save button.


Preview (light / dark)


Features

  • Runs natively on Linux and Windows — same binary logic, same output
  • Load any common raster format: PNG, JPG, BMP, TIF, GIF, WEBP, TGA, QOI, PBM/PGM/PPM/PNM
  • Load SVG files directly (rasterised via Skia) and extract icon frames straight from ICO, EXE and DLL files
  • Default preset matches the current Windows 11 application icon set (256, 64, 48, 40, 32, 24, 20, 16)
  • Freely add, edit or remove custom sizes — any value from 2 px up to 4096 px, right-click a size to manage it
  • High-quality Lanczos-3 resampling for sharp results at every size
  • Replace individual sizes manually — swap in a hand-tuned image for 16 px or 32 px and it gets resized in place to fit the slot
  • Drag-and-drop support on the main window and on individual thumbnails
  • CLI mode for batch conversion and scripting — process a folder of images in one call
  • PNG-compressed frames inside the ICO container for smaller files, especially at 256 px and up

Download

The latest release is available on the Releases page — no installation required, just extract and run the executable — ImageToIcon.exe on Windows, ImageToIcon on Linux.


Command Line

ImageToIcon also runs headless. Any invocation containing --cli (or /cli) skips the UI and processes files directly:

ImageToIcon --cli --o=./out image1.png image2.jpg
ImageToIcon --cli --o=./out --sizes=16,32,48,256 logo.png
OptionDescription
--cli, /cliRun in CLI mode.
--o=DIR, /o=DIROutput directory for the generated .ico files.
--sizes=<list>Comma-separated list of icon sizes to generate (2–4096).
--help, /?Show usage information.

Requirements

Linux

  • Any modern x64 Linux distribution
  • No .NET runtime required — ships as a self-contained single-file executable

Windows

  • Windows 10 or later (x64)
  • No additional dependencies — ships as a self-contained single-file executable

Building from Source

Prerequisites

Build

# Debug build (default, linux-x64 only)
./build.sh

# Release build (linux-x64 and win-x64)
./build.sh Release

Run directly (without full build)

cd src/ImageToIcon
dotnet run

Similar Projects

Discover other similar projects and AI models.

Repository
jlevy/the-art-of-command-line

Master the command line, in one page

162.8k
Jun 25, 2024
RepositoryJavaScript
nodejs/node

Node.js JavaScript runtime ✨🐢🚀✨

124.1k
Nov 30, 2026
RepositoryC#
AvaloniaUI/Avalonia

Develop Desktop, Embedded, Mobile and WebAssembly apps with C# and XAML. The future of .NET UI

31.9k
Nov 27, 2026
RepositoryC#
BeyondDimension/SteamTools

🛠「Watt Toolkit」是一个开源跨平台的多功能 Steam 工具箱。

27.9k
Dec 1, 2026
RepositoryC++
keepassxreboot/keepassxc

KeePassXC is a cross-platform community-driven port of the Windows application “KeePass Password Safe”.

30.3k
Nov 30, 2026
RepositoryTypeScript
clash-verge-rev/clash-verge-rev

A modern GUI client based on Tauri, designed to run in Windows, macOS and Linux for tailored proxy experience

162.1k
Dec 2, 2026
RepositoryC#
PowerShell/PowerShell

PowerShell for every system!

56.4k
Dec 1, 2026
RepositoryRust
alacritty/alacritty

A cross-platform, OpenGL terminal emulator.

66.4k
Dec 1, 2026
RepositoryTypeScript
marktext/marktext

📝A simple and elegant markdown editor, available for Linux, macOS and Windows.

64.5k
Nov 25, 2026