# Elephicon

一款 macOS 图形应用，可将 PNG 图像转换为 Apple ICNS 和 Microsoft ICO 图标文件。

> 这是 OpenNavo 上 Elephicon 页面的 Markdown 版本，内容与网页相同： <https://opennavo.com/zh/apps/elephicon>

- **最新版本**: `4.3.1`
- **开发者**: sprout2000
- **主页**: <https://github.com/sprout2000/elephicon/>
- **分类**: [设计](https://opennavo.com/zh/categories/design)
- **安装**: `brew install --cask elephicon`
- **近 30 天安装**: 0
- **Homebrew**: 可以安装，应用会自行更新
- **下载地址**: <https://github.com/sprout2000/elephicon/releases/download/v4.3.1/Elephicon-4.3.1-darwin-arm64.dmg>
- **SHA-256**: `ed6b404a2bebe1408b03655620d40d4be5b505d97ac268f202bf0ad993212d1b`

SHA-256 只用来核对下载的文件是否完整，不代表安全认证。

## 安装与卸载内容

```json
[
  {
    "declaration": {
      "app": [
        "Elephicon.app"
      ],
      "target": "/Applications/Elephicon.app"
    },
    "phase": "install",
    "sources": [
      "Elephicon.app"
    ],
    "target": "/Applications/Elephicon.app",
    "type": "app"
  },
  {
    "declaration": {
      "zap": [
        {
          "trash": [
            "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/jp.wassabie64.elephicon.sfl*",
            "~/Library/Application Support/Elephicon",
            "~/Library/Caches/jp.wassabie64.Elephicon",
            "~/Library/Caches/jp.wassabie64.Elephicon.ShipIt",
            "~/Library/Logs/Elephicon",
            "~/Library/Preferences/jp.wassabie64.Elephicon.plist",
            "~/Library/Saved Application State/jp.wassabie64.Elephicon.savedState"
          ]
        }
      ]
    },
    "phase": "cleanup",
    "sources": [],
    "type": "zap"
  }
]
```

## 介绍

Elephicon 是一款图形界面应用，可将 PNG 图像制作成 Apple ICNS 和 Microsoft ICO 图标文件。这里介绍的是通过 Homebrew Cask 分发的 macOS 应用版本，而不是命令行工具。

- 可从 PNG 源图像生成 ICNS 和 ICO 文件。
- 支持使用非正方形 PNG 图像；项目将带 alpha 通道的 24 位、1024×1024 PNG 列为理想输入，同时指出其他尺寸和大多数 PNG 格式也可以使用。
- 可通过应用的上下文菜单调整可用选项。
- 项目列出的嵌入图标尺寸从 16×16 到 512×512 不等，具体可用尺寸取决于输出为 ICO 还是 ICNS。

使用 `brew install --cask elephicon` 安装。Cask 会将 `Elephicon.app` 安装到 `/Applications`。Elephicon 需要 macOS 13 或更高版本。开始使用时，打开应用并提供 PNG 图像以生成图标文件。项目说明，仅创建 ICO 文件时，256×256 像素即可满足需要。

来源：[Elephicon 项目](https://github.com/sprout2000/elephicon/) · [Homebrew Cask 条目](https://raw.githubusercontent.com/Homebrew/homebrew-cask/HEAD/Casks/e/elephicon.rb)

## 系统要求

- macOS 13 起 · 应用版本: 4.3.1 · Intel · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/e/elephicon.rb> · 核查于 2026-11-30
  - <https://github.com/sprout2000/elephicon/releases/download/v4.3.1/Elephicon-4.3.1-darwin-arm64.dmg>
  - SHA-256: `ed6b404a2bebe1408b03655620d40d4be5b505d97ac268f202bf0ad993212d1b`
- macOS 13 起 · 应用版本: 4.3.1 · Apple 芯片 · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/e/elephicon.rb> · 核查于 2026-11-30
  - <https://github.com/sprout2000/elephicon/releases/download/v4.3.1/Elephicon-4.3.1-darwin-arm64.dmg>
  - SHA-256: `ed6b404a2bebe1408b03655620d40d4be5b505d97ac268f202bf0ad993212d1b`

## Elephicon 的安全事实

这里只列可以核验的事实，并注明来源和日期，不是安全认证。要检查你下载的文件，可以用 OpenNavo 在本机扫描。

- <https://github.com/sprout2000/elephicon> · 是否开源: 是 — <https://github.com/sprout2000/elephicon> · 核查于 2026-11-13

## 卸载

- `brew uninstall --cask elephicon`

普通卸载会删除应用本身，设置和缓存会保留。

### 深度清理（可选）

- `brew uninstall --zap --cask elephicon`

`--zap` 还会删除 Homebrew 定义里列出的设置、缓存等文件，其中可能有其他应用共用的数据，删除后无法恢复；它也不保证没有任何残留。请先备份需要保留的数据；如要保留设置和缓存，请不要加 `--zap`。

普通卸载会删除应用本身，设置和缓存会保留。

- 文件和文件夹: `~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/jp.wassabie64.elephicon.sfl*` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/e/elephicon.rb> · 以上条目来自 Homebrew 定义，核查于 2026-11-30；它们只说明定义声明会删除什么，不代表你的 Mac 上都有。
- 文件和文件夹: `~/Library/Application Support/Elephicon` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/e/elephicon.rb> · 以上条目来自 Homebrew 定义，核查于 2026-11-30；它们只说明定义声明会删除什么，不代表你的 Mac 上都有。
- 文件和文件夹: `~/Library/Caches/jp.wassabie64.Elephicon` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/e/elephicon.rb> · 以上条目来自 Homebrew 定义，核查于 2026-11-30；它们只说明定义声明会删除什么，不代表你的 Mac 上都有。
- 文件和文件夹: `~/Library/Caches/jp.wassabie64.Elephicon.ShipIt` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/e/elephicon.rb> · 以上条目来自 Homebrew 定义，核查于 2026-11-30；它们只说明定义声明会删除什么，不代表你的 Mac 上都有。
- 文件和文件夹: `~/Library/Logs/Elephicon` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/e/elephicon.rb> · 以上条目来自 Homebrew 定义，核查于 2026-11-30；它们只说明定义声明会删除什么，不代表你的 Mac 上都有。
- 文件和文件夹: `~/Library/Preferences/jp.wassabie64.Elephicon.plist` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/e/elephicon.rb> · 以上条目来自 Homebrew 定义，核查于 2026-11-30；它们只说明定义声明会删除什么，不代表你的 Mac 上都有。
- 文件和文件夹: `~/Library/Saved Application State/jp.wassabie64.Elephicon.savedState` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/e/elephicon.rb> · 以上条目来自 Homebrew 定义，核查于 2026-11-30；它们只说明定义声明会删除什么，不代表你的 Mac 上都有。

## 最新版本说明

### 5.0.1 (2026-11-28)

> [!NOTE]
> This release is for **Linux**. On **Windows** and **macOS**, please use [v5.0.0](https://github.com/sprout2000/elephicon/releases/tag/v5.0.0).

#### What's Changed

##### Linux support is back

Elephicon now runs on **Linux (Ubuntu on Wayland)** again. WSL is not supported.

- The menu is shown as a **menu bar** in the window, with the same items as the context menu on Windows.
  - Open a file with **Ctrl+O**, and see the version with **Help > About Elephicon**.
- There is **no context menu** on Linux, because GTK cannot place one on Wayland.
- The menu bar uses the colors of your GTK theme.
- Only one Elephicon runs at a time.
- Packages: **deb**, **rpm** and **AppImage**.

##### Improvements

- When you change a setting in the menu, Elephicon now updates only the check marks instead of rebuilding the whole menu. This will also come to Windows and macOS in the next release for those platforms.

**Full Changelog**: https://github.com/sprout2000/elephicon/compare/v5.0.0...v5.0.1

## 资料与来源

- <https://opennavo.com/zh/apps/elephicon>
- <https://opennavo.com/zh/apps/elephicon/versions>
- <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/e/elephicon.rb> · 核查于 2026-11-30
- <https://formulae.brew.sh/cask/elephicon>
- <https://github.com/sprout2000/elephicon> · 核查于 2026-11-13
