百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
I

ImageToIcon

> 数据库
开源

:rowboat: 将任何图像转换为 ICO 格式

189 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

:rowboat: 将任何图像转换为 ICO 格式

ImageToIcon

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:

bash
ImageToIcon --cli --o=./out image1.png image2.jpg
ImageToIcon --cli --o=./out --sizes=16,32,48,256 logo.png
Option Description
--cli, /cli Run in CLI mode.
--o=DIR, /o=DIR Output directory for the generated .ico files.
--sizes= 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

  • .NET 10 SDK

Build

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

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

Run directly (without full build)

bash
cd src/ImageToIcon
dotnet run

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

C#avaloniaavaloniauicross-platformfavicon

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类数据库
定价开源

> 相关工具

P
PostgreSQL
功能强大的开源关系型数据库
R
Redis
内存数据结构存储,常用作缓存与队列
M
MySQL
广泛使用的开源关系型数据库