# 使用 Homebrew 安装 libsail

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

## 安装

```sh
sudo av install brew:libsail
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install libsail
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:libsail
- **软件包管理器:** Homebrew
- **版本:** 1.1.0
- **来源摘要:** Missing small and fast image decoding library for humans (not for machines)
- **主页:** <https://sail.software>
- **仓库:** <https://github.com/HappySeaFox/sail>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- sail-imaging (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.1.0
## 项目历史与用法

libsail is the library component of SAIL, the Squirrel Abstract Imaging Library, a cross-platform C11 image decoding and encoding library with C, C++, and Python APIs. Its history is thinner than older desktop libraries, but the project documents a predecessor relationship to ksquirrel-libs.

### 项目历史

The SAIL FAQ says SAIL is a rebranded ksquirrel-libs rewritten in C, improved, and enhanced with high-level APIs, and dates the SAIL/ksquirrel-libs lineage to 2003. The GitHub repository was created in March 2020 and the release tags show pre-release development through the 0.9.0 series before 1.0.0 tags in June 2026.

### 采用历史

The README positions SAIL for image viewers, game developers, and applications that need a clean API for many image formats. It also documents installation through PyPI, Homebrew, Conan, and vcpkg, which is the main source-backed evidence for cross-platform packaging adoption.

### 使用方式

Users link libsail from C or C++, use the Python binding, or invoke the sail command-line utility for conversion, resizing, frame extraction, and codec-tuning operations. The library loads codecs on demand and exposes multiple API levels for simple and advanced image handling.

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

SAIL is interesting to packagers because it tries to sit between tiny single-header image loaders and large desktop imaging stacks: codec plugins, C11 portability, Python bindings, and package recipes all meet in one relatively young image-library package.

### 时间线

- 2003: The project's FAQ dates the SAIL/ksquirrel-libs lineage to this year.
- 2020: The GitHub repository was created in March and the v0.9.0-pre1 tag was made in June.
- 2023: The v0.9.0 tag was made in November.
- 2026: The v1.0.0 tag was published in June.

### Related projects

- Related projects include ksquirrel-libs, KSquirrel, FreeImage, DevIL, SDL_image, stb_image, Boost.GIL, gdk-pixbuf, imlib2, CImg, Conan, vcpkg, and sailpy.

### 来源

- <https://api.github.com/repos/HappySeaFox/sail/releases?per_page=100>
- <https://github.com/HappySeaFox/sail>
- <https://github.com/HappySeaFox/sail/blob/master/FAQ.md>
- <https://github.com/HappySeaFox/sail/releases>


## 安全说明

library-like package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- library-like package without higher-risk signals


## Combined YAML source

View the package source record on GitHub. [combined/libsail.yml](https://github.com/mxcl/pkgdb/blob/main/combined/libsail.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
