# hqx を Homebrew, dnf でインストール

hqx のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:hqx
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install hqx
```

  証拠: local Homebrew formula metadata

### Linux

- dnf (92%):

```sh
sudo dnf install hqx
```

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

## パッケージ情報

- **パッケージキー:** brew:hqx
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.2
- **ソース概要:** Magnification filter designed for pixel art
- **ホームページ:** <https://github.com/grom358/hqx>
- **リポジトリ:** <https://github.com/grom358/hqx>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- hqx (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 1.2
## プロジェクトの歴史と使われ方

hqx is a C library and command-line tool for the hq2x, hq3x, and hq4x pixel-art scaling filters. The upstream README describes hqx as a fast, high-quality magnification filter designed for pixel art.

### プロジェクトの歴史

The grom358 implementation packages Maxim Stepin's hqx pixel-art scaling family as a buildable Unix library and CLI. Its NEWS file says version 1.0 added 24-bit color support, a command-line tool using the DevIL image library, and an autotools build system.

The README explains the algorithmic shape: each source pixel is evaluated against its 3-by-3 neighborhood, color differences are calculated in YUV space, a 256-entry lookup table selects interpolation patterns, and the result preserves sharp edges better than nearest-neighbor scaling for sprites and line art.

### 採用の歴史

The README ties hqx to emulator culture, naming Nestopia, bsnes, ZSNES, Snes9x, and FCE Ultra as users of the algorithm family. Homebrew and Fedora packaging make the grom358 library/CLI available outside emulator source trees.

### 使われ方

The documented CLI usage is `hqx -s scaleBy input output`, where the scale is 2, 3, or 4. The library API exposes functions such as `hq4x_32` after `hqxInit()`, allowing applications to scale RGB bitmaps directly.

The filter is intended for images with sharp edges, such as pixel art, line graphics, and cartoon sprites, rather than photographs.

### パッケージ好きにとっての重要性

hqx matters because it packages a once-emulator-specific graphics algorithm as a reusable system library and filter command. That is exactly the sort of niche media primitive package managers keep alive: small, old-school, useful when you need it, and awkward to rederive from scratch.

Its significance is also historical: hq2x/hq3x/hq4x belong to the era when emulator authors competed to make low-resolution console graphics look acceptable on higher-resolution displays without losing pixel-art structure.

### タイムライン

- 2001-2002: Archived HiEnd3D hq2x material carries Maxim Stepin copyright dates.
- 1.0: The grom358 NEWS file records 24-bit color support, the DevIL-based command-line tool, and autotools build support.
- 1.2: Homebrew packages the grom358 hqx implementation as version 1.2.

### Related projects

- hq2x, hq3x, and hq4x are the three scaling filters implemented by the package.
- DevIL is the image library required by the documented command-line build.
- Nestopia, bsnes, ZSNES, Snes9x, and FCE Ultra are emulator projects named in the upstream README as users of the hqx algorithm family.
- Scale2x and 2xSaI are neighboring pixel-art scaling algorithms shown alongside hq2x in preserved HiEnd3D comparison material.

### ソース

- <https://formulae.brew.sh/formula/hqx>
- <https://github.com/grom358/hqx>
- <https://github.com/grom358/hqx/blob/master/NEWS>
- <https://web.archive.org/web/20131205091805/http://www.hiend3d.com/hq2x.html>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## 他のパッケージマネージャ記録

- dnf - hqx - 1.2-14.fc45: normalized package name match | Fedora Rawhide package metadata: hqx from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | High quality upscaling program for pixel-art | https://github.com/grom358/hqx
- dnf - libhqx - 1.2-14.fc45: normalized package name match | Fedora Rawhide package metadata: libhqx from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | High quality upscaling library for pixel-art | https://github.com/grom358/hqx
- dnf - libhqx-devel - 1.2-14.fc45: normalized package name match | Fedora Rawhide package metadata: libhqx-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development files for libhqx | https://github.com/grom358/hqx


## Combined YAML source

View the package source record on GitHub. [combined/hqx.yml](https://github.com/mxcl/pkgdb/blob/main/combined/hqx.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
