# 使用 Homebrew, apt, dnf, Nix, zypper 安装 imgp

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

## 安装

```sh
sudo av install brew:imgp
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install imgp
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install imgp
```

  证据: Debian stable package indexes: imgp from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install imgp
```

  证据: Fedora Rawhide package metadata: imgp 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#imgp
```

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

- zypper (92%):

```sh
sudo zypper install imgp
```

  证据: openSUSE Tumbleweed package metadata: imgp from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## 软件包事实

- **软件包键:** brew:imgp
- **软件包管理器:** Homebrew
- **版本:** 2.9
- **来源摘要:** High-performance CLI batch image resizer & rotator
- **主页:** <https://github.com/jarun/imgp>
- **仓库:** <https://github.com/jarun/imgp>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- imgp (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

imgp is a Python command-line batch image resizer and rotator by Arun Prakash Jana. The project emphasizes fast bulk processing of JPEG and PNG files, recursive directory handling, EXIF-related options, shell completion, and minimal dependencies.

### 项目历史

The GitHub repository was created on 2016-08-08. Its early releases used the name imgd, with v1.0 published on 2016-08-16 and v2.0 on 2016-09-30; later releases settled on imgp as the package identity. The README positions imgp as a stronger, file-manager-independent replacement for the Nautilus Image Converter extension, with speed and desktop portability as central goals.

Across the 2.x series, imgp accumulated features typical of serious batch-photo tooling: adaptive resizing, rotation, JPEG quality controls, PNG-to-JPEG conversion, overwrite and recursive modes, optimization, EXIF erasure, and shell completions. The README also documents use with Pillow and optional Pillow-SIMD for SIMD acceleration.

### 采用历史

imgp spread beyond Homebrew into several Linux and cross-platform package channels listed in the input metadata, including Debian, Ubuntu, Fedora, Nix, and openSUSE. PyPI metadata lists imgp as a Python package, and the README links packaging status plus release packages for multiple distributions.

Repository metadata shows roughly 1k GitHub stars, while Homebrew analytics show modest but steady formula installs. That footprint is consistent with a practical Unix image utility: useful for people who batch-resize photos, screenshots, and media folders, but not a general-purpose image-processing framework.

### 使用方式

The README documents command forms for resizing by resolution, percentage, or megapixel target; rotating by degrees; recursive traversal; overwriting or suffixing output files; converting PNG to JPEG; and processing the working directory when no path is supplied. Operational notes warn about lossy resize and rotate operations, overwrite behavior, and repeated processing of generated files.

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

imgp matters in package-manager culture because it is the kind of compact CLI that replaces GUI extensions and ad hoc ImageMagick loops with a single installable command. It also reflects the practical packaging appeal of Python-plus-Pillow tools: easy to distribute, scriptable, and friendly to desktop and shell workflows.

### 时间线

- 2016-08-08: GitHub repository created.
- 2016-08-16: v1.0 release published under the imgd release name.
- 2016-09-30: v2.0 release published.
- 2019-12-21: v2.7 release published and later represented on PyPI.
- 2023-09-10: v2.9 release published.

### Related projects

- The README compares imgp with the Nautilus Image Converter extension and ImageMagick's convert utility. It also notes integration from the nnn file manager through a script for batch image resizing.

### 来源

- <https://formulae.brew.sh/formula/imgp>
- <https://github.com/jarun/imgp>
- <https://github.com/jarun/imgp/releases>
- <https://pypi.org/project/imgp/>


## 安全说明

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

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

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

- Debian apt - imgp - 2.9-1: normalized package name match | Debian stable package indexes: imgp from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Superfast batch image resizer and rotator | https://github.com/jarun/imgp
- Nix - imgp: normalized package name match | nixpkgs package indexes: pkgs/by-name/im/imgp/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - imgp - 2.9-1: normalized package name match | Ubuntu 24.04 LTS package indexes: imgp from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Superfast batch image resizer and rotator | https://github.com/jarun/imgp
- dnf - imgp - 2.9-8.fc45: normalized package name match | Fedora Rawhide package metadata: imgp from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Multi-core batch image resizer and rotator | https://github.com/jarun/imgp
- zypper - imgp - 2.9-1.7: normalized package name match | openSUSE Tumbleweed package metadata: imgp from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Image resizer and rotator | https://github.com/jarun/imgp
- zypper - imgp-bash-completion - 2.9-1.7: normalized package name match | openSUSE Tumbleweed package metadata: imgp-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Bash Completion for imgp | https://github.com/jarun/imgp
- zypper - imgp-fish-completion - 2.9-1.7: normalized package name match | openSUSE Tumbleweed package metadata: imgp-fish-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Fish Completion for imgp | https://github.com/jarun/imgp
- zypper - imgp-zsh-completion - 2.9-1.7: normalized package name match | openSUSE Tumbleweed package metadata: imgp-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | ZSH Completion for imgp | https://github.com/jarun/imgp


## Combined YAML source

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