# 使用 Homebrew, dnf, Nix, pacman 安装 libultrahdr

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

## 安装

```sh
sudo av install brew:libultrahdr
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install libultrahdr
```

  证据: local Homebrew formula metadata

### Linux

- dnf (92%):

```sh
sudo dnf install libultrahdr
```

  证据: Fedora Rawhide package metadata: libultrahdr from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#libultrahdr
```

  证据: nixpkgs package indexes: pkgs/by-name/li/libultrahdr/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S libultrahdr
```

  证据: Arch Linux sync databases: libultrahdr from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## 软件包事实

- **软件包键:** brew:libultrahdr
- **软件包管理器:** Homebrew
- **版本:** 1.5.1
- **来源摘要:** Reference codec for the Ultra HDR format
- **主页:** <https://developer.android.com/media/platform/hdr-image-format>
- **仓库:** <https://github.com/google/libultrahdr>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- ultrahdr_app (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

libultrahdr is Google's reference codec for Ultra HDR, a backward-compatible HDR image format that stores an SDR base image plus a gain map and metadata so legacy JPEG readers can still display the SDR rendition.

### 项目历史

Android's Ultra HDR specification defines a JPEG-based format that encodes a logarithmic range gain map. libultrahdr implements the codec side: it can compute a gain map from SDR and HDR renditions, store the base image, gain map, and metadata, and decode them back into an HDR rendering on compatible displays.

The GitHub release history starts with version 1.0.0 on October 24, 2023. The 1.1.0 release in August 2024 added image-quality features, command-line tool updates, editing support, and ISO 21496-1 standard support. The 1.4.0 release in January 2025 added per-channel content boost configuration and alternate color-space handling.

### 采用历史

Ultra HDR entered Android developer workflows with Android 14 API level 34 support for displaying Ultra HDR images. Android documentation tells app developers to detect gain maps and switch windows into HDR color mode when displaying these images.

Google's Android Developers Blog described Instagram as an early adopter that began implementing Ultra HDR in late September 2023, highlighting the format's movement from platform feature to high-volume social media use.

### 使用方式

Developers use libultrahdr to encode HDR still images into a backward-compatible JPEG container and to decode Ultra HDR images for HDR-capable displays. The bundled ultrahdr_app command-line tool makes it useful for testing encodes, decodes, performance, and format behavior outside Android app code.

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

libultrahdr matters to package nerds because it turns a mobile platform media feature into a portable codec library that distributions can ship. It also captures the practical transition from SDR-only JPEG workflows to gain-map HDR images that still degrade cleanly in old software.

### 时间线

- 2023: Android 14 introduced platform support for Ultra HDR images.
- 2023: libultrahdr 1.0.0 was released on October 24, 2023.
- 2024: libultrahdr 1.1.0 added editing support and ISO 21496-1 support on August 22, 2024.
- 2024: libultrahdr 1.2.0 added a Java library and sample app on September 20, 2024.
- 2025: libultrahdr v1.4.0 was released on January 10, 2025.

### Related projects

- Android 14 and later Android media APIs provide platform display support for Ultra HDR.
- ISO 21496-1 is an adjacent gain-map HDR standard named in the libultrahdr release notes.
- JPEG, XMP, and CIPA Multi-Picture Format are normative or container-level building blocks cited by the Ultra HDR specification.

### 来源

- <https://android-developers.googleblog.com/2024/08/instagrams-early-adoption-of-ultra-hdr-transforms-user-experience.html>
- <https://developer.android.com/media/grow/ultra-hdr/display>
- <https://developer.android.com/media/platform/hdr-image-format>
- <https://github.com/google/libultrahdr>
- <https://github.com/google/libultrahdr/releases>


## 安全说明

library-like package without higher-risk signals.

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

## 其他软件包管理器记录

- Nix - libultrahdr: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/libultrahdr/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- dnf - libultrahdr - 1.4.0^20251202git8cbc983-2.fc45: normalized package name match | Fedora Rawhide package metadata: libultrahdr from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Reference codec for the Ultra HDR format | https://github.com/google/libultrahdr
- dnf - libultrahdr-devel - 1.4.0^20251202git8cbc983-2.fc45: normalized package name match | Fedora Rawhide package metadata: libultrahdr-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development files for libultrahdr | https://github.com/google/libultrahdr
- pacman - libultrahdr - 1.5.1-1: normalized package name match | Arch Linux sync databases: libultrahdr from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | The reference codec for the Ultra HDR format | https://github.com/google/libultrahdr


## Combined YAML source

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


## 来源

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