外部依存ゼロのデスクトップアプリ。ImageMagick等のインストール不要。 Mac (.app) と Windows (.exe/.msi) の両方に対応。
| コンポーネント | 役割 |
|---|---|
| Tauri 2 | クロスプラットフォームGUIフレームワーク |
| libheif-rs | HEICデコード(Rustバインディング) |
| image crate | JPEGエンコード(Pure Rust) |
ビルドしたバイナリ1つで動作します。ユーザーは何もインストール不要です。
# 1. Rust をインストール(まだの場合)
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
# 2. Node.js v18+ をインストール
# https://nodejs.org/
# 3. macOS の場合 — libheif のビルドに必要
brew install cmake pkg-config libheif
# 4. Windows の場合 — vcpkg で libheif をインストール
# https://github.com/microsoft/vcpkg
vcpkg install libheif:x64-windowscd heic-converter
npm install
npm run build完了すると以下に出力されます:
- macOS:
src-tauri/target/release/bundle/macos/HEIC Converter.app - Windows:
src-tauri\target\release\bundle\msi\HEIC Converter_0.1.0_x64.msi
- HEICファイルをウィンドウにドラッグ&ドロップ (または「ファイルを選択」ボタン)
- JPG品質をスライダーで調整(デフォルト: 90%)
- 「変換開始」をクリック
- 元ファイルと同じフォルダの
jpg_output/に保存されます
brew install libheifvcpkg でインストール後、環境変数を設定:
$env:LIBHEIF_DIR = "C:\vcpkg\installed\x64-windows"rustup update
cargo clean
npm run build