# 使用 Homebrew 安装 flif

查看 flif 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:flif
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install flif
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:flif
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/flif>
- **版本:** 0.4
- **来源摘要:** Free Loseless Image Format
- **主页:** <https://flif.info/>
- **仓库:** <https://github.com/FLIF-hub/FLIF>
- **上游文档:** <https://flif.info/>
- **许可证:** LGPL-3.0-or-later
- **源码归档:** <https://github.com/FLIF-hub/FLIF/archive/refs/tags/v0.4.tar.gz>
- **最后更新:** 2026-06-18T02:28:57-04:00
- **已生成:** 2026-07-08T07:18:31+00:00

## 可执行文件

- apng2flif (cli)
- dflif (cli)
- flif (cli)
- gif2flif (cli)
- viewflif (cli)
- apng2flif (别名)
- dflif (别名)
- flif (别名)
- gif2flif (别名)
- viewflif (别名)

## 依赖

- libpng
- sdl2-compat

## 构建依赖

- cmake
- pkgconf

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 0.4
- 管理器更新时间: 2026-06-18
- 本地数据: OK
- 上游仓库: https://github.com/FLIF-hub/FLIF
- 检测到的最新版本: v0.4 (当前)
## 项目历史与用法

FLIF, the Free Lossless Image Format, is a lossless image format and reference implementation based on MANIAC compression. Its official README says development has stopped because it was superseded first by FUIF and then by JPEG XL.

### 项目历史

The project presented FLIF as a still-image and animation-capable lossless format that outperformed PNG, FFV1, lossless WebP, lossless BPG, and lossless JPEG 2000 in compression ratio according to its own documentation.

FLIF's reference implementation included command-line conversion tools, a decoder library, and a viewer example. The repository shipped build instructions for Linux, Windows, and OS X and linked users to release binaries and a Snap package.

### 采用历史

FLIF attracted ecosystem experiments around viewers, browser polyfills, GUI converters, Qt and Windows Imaging Component plugins, JavaScript and Rust bindings, and Node.js wrappers, all listed by the official README as related projects.

The format remained a package-manager curiosity rather than a web standard: it was packaged in Homebrew and Snap, but the official project now directs attention to JPEG XL as the successor.

### 使用方式

The package provides the flif command-line encoder/decoder plus helper tools such as gif2flif and apng2flif. Users generally used it to test lossless compression ratios, convert PNG/GIF/APNG inputs, or inspect FLIF's progressive rendering behavior.

FLIF's progressive interlacing meant partial file prefixes could produce usable lossy previews, a feature that made it interesting to image-format researchers and compression hobbyists.

### 为什么软件包爱好者会关心

FLIF is significant as a transitional compression project: its ideas fed into FUIF and then JPEG XL, so package histories often treat it as part of the path from experimental lossless image formats to a more broadly standardized successor.

For package maintainers, FLIF is also a snapshot of format experimentation before wide adoption: useful binaries, library pieces, and plugins existed, but upstream development explicitly stopped.

### 时间线

- 2015: v0.1-alpha was published on GitHub.
- 2016: v0.2 and v0.2.2 releases followed.
- 2017: v0.3 was published.
- 2021: v0.4 was published.
- Later: The README was updated to state that FLIF development had stopped and that JPEG XL superseded it.

### Related projects

- Direct successors named by the project are FUIF and JPEG XL, with JPEG XL described as based on a combination of Pik and FUIF.
- Officially listed ecosystem projects include Poly FLIF, UGUI: FLIF, flifcrush, libflif.js, flif.rs, FLIF Windows Codec, qt-flif-plugin, go-flif, flif-wasm, and node-flif.

### 来源

- <https://api.github.com/repos/FLIF-hub/FLIF/releases>
- <https://flif.info/>
- <https://flif.info/spec.html>
- <https://github.com/FLIF-hub/FLIF>


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** flif
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable


## 相关链接

- [Secret-risk packages](https://www.automicvault.com/zh-hans/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Archive and compression packages](https://www.automicvault.com/zh-hans/pkg/archive-compression-tools/) - Matched archive or compression metadata.
- [libpng](https://www.automicvault.com/zh-hans/pkg/brew/libpng/) - Runtime dependency declared by Homebrew.
- [sdl2-compat](https://www.automicvault.com/zh-hans/pkg/brew/sdl2-compat/) - Runtime dependency declared by Homebrew.
- [cmake](https://www.automicvault.com/zh-hans/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/zh-hans/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [openexr](https://www.automicvault.com/zh-hans/pkg/brew/openexr/) - Shares av.db curated category or tags: cli, image-format, media.
- [wavpack](https://www.automicvault.com/zh-hans/pkg/brew/wavpack/) - Shares av.db curated category or tags: cli, codec, compression, media.
- [webp](https://www.automicvault.com/zh-hans/pkg/brew/webp/) - Shares av.db curated category or tags: cli, compression, image-format, lossless, media.
- [epsilon](https://www.automicvault.com/zh-hans/pkg/brew/epsilon/) - Shares av.db curated category or tags: cli, compression, media.
- [jpeg-turbo](https://www.automicvault.com/zh-hans/pkg/brew/jpeg-turbo/) - Shares av.db curated category or tags: cli, codec, compression, media.
- [musepack](https://www.automicvault.com/zh-hans/pkg/brew/musepack/) - Shares av.db curated category or tags: cli, codec, compression, media.
- [a52dec](https://www.automicvault.com/zh-hans/pkg/brew/a52dec/) - Shares av.db curated category or tags: cli, codec, media.
- [jpeg-xl](https://www.automicvault.com/zh-hans/pkg/brew/jpeg-xl/) - Both packages work with overlapping file formats or content types. Shared terms: cli, codec, compression, format, image.
- [openjpeg](https://www.automicvault.com/zh-hans/pkg/brew/openjpeg/) - Both packages work with overlapping file formats or content types. Shared terms: cli, codec, compression, image, libpng.

## Combined YAML source

View the package source record on GitHub. [combined/flif.yml](https://github.com/automic-vault/db/blob/main/combined/flif.yml)


## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
