# Installer openjpeg avec Homebrew, apk, dnf, MacPorts, Nix

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de openjpeg pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:openjpeg
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install openjpeg
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install openjpeg
```

  Preuve: MacPorts ports tree: graphics/openjpeg/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add openjpeg
```

  Preuve: Alpine Linux edge package indexes: openjpeg from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install openjpeg
```

  Preuve: Fedora Rawhide package metadata: openjpeg 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#openjpeg
```

  Preuve: nixpkgs package indexes: pkgs/by-name/op/openjpeg/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Faits du paquet

- **Clé du paquet:** brew:openjpeg
- **Gestionnaire de paquets:** Homebrew
- **Version:** 2.5.4
- **Résumé source:** Library for JPEG-2000 image manipulation
- **Page d'accueil:** <https://www.openjpeg.org/>
- **Dépôt:** <https://github.com/uclouvain/openjpeg>
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- opj_compress (alias)
- opj_decompress (alias)
- opj_dump (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 2.5.4
## Historique du projet et usages

OpenJPEG is an open-source JPEG 2000 codec written in C. It was developed to promote use of JPEG 2000 and, in 2015, was recognized by ISO/IEC and ITU-T as JPEG 2000 reference software.

### Historique du projet

OpenJPEG comes from the Universite catholique de Louvain image and signal-processing community and is maintained as a BSD-licensed codec library plus command-line applications. The project describes its purpose plainly: provide an open-source implementation of the JPEG 2000 still-image compression standard.

The package became more significant after the reference-software recognition because JPEG 2000 has a standards-heavy ecosystem: JP2/J2K codestreams, conformance expectations, archival image workflows, medical and cultural-heritage imaging, and codec comparisons against proprietary implementations such as Kakadu.

### Historique d'adoption

The IIIF community's 2017 OpenJPEG Improvement Project is a good adoption marker. Cultural-heritage institutions including Wellcome Library, Stanford University, the University of Michigan, the National Library of the Netherlands, and UCLA funded work to improve OpenJPEG performance, scalability, security, robustness, region-of-interest decoding, and memory footprint for production image repositories.

That adoption story is narrower than a general-purpose image library such as libpng, but deeper in archives and standards-driven imaging. OpenJPEG matters where JPEG 2000's tiling, multi-resolution access, and lossless compression properties are worth the operational complexity.

### Modes d'utilisation

Developers use OpenJPEG through libopenjp2 or through tools such as opj_compress and opj_decompress. The project documentation describes opj_compress as reading image formats such as BMP, PGM, PNG, TIFF, RAW, TGA, and others and writing JPEG 2000 output, while opj_decompress converts JPEG 2000 inputs such as .j2k, .jp2, .j2c, and .jpt into common image formats.

In package-manager terms, openjpeg is both a leaf tool for people converting images and a dependency for larger imaging stacks. It gives downstream software a permissively licensed JPEG 2000 implementation without requiring users to fetch a vendor SDK.

### Pourquoi les passionnés de paquets s'y intéressent

OpenJPEG is the sort of dependency package that quietly decides whether an image stack can read JP2 files. It is small compared with Java or OpenLDAP, but it sits at the intersection of standards, archival workflows, security-sensitive image parsing, and optional codec support in larger applications.

The package is also notable because codec packages carry file-format risk. A JPEG 2000 decoder is exposed to untrusted binary data, so package maintainers care about upstream activity, fuzzing, CVE fixes, ABI stability, and whether downstreams bundle or dynamically link libopenjp2.

### Chronologie

- April/May 2015: OpenJPEG was recognized by ISO/IEC and ITU-T as JPEG 2000 reference software.
- 2017: the IIIF community announced a funded OpenJPEG Improvement Project focused on production-readiness for digital image repositories.
- OpenJPEG 2.x: the command-line tools were renamed to opj_compress and opj_decompress, replacing the OpenJPEG 1.x image_to_j2k and j2k_to_image names.

### Related projects

- OpenJPEG is related to JPEG 2000 Part 1, JP2/J2K tooling, Grok, Kakadu, IIIF image servers, ImageMagick-style image pipelines, and newer HTJ2K work where traditional JPEG 2000 performance is a bottleneck.

### Sources

- <https://github.com/uclouvain/openjpeg>
- <https://github.com/uclouvain/openjpeg/wiki/DocJ2KCodec>
- <https://iiif.io/news/2017/04/27/openjpeg-improvement/>
- <https://www.openjpeg.org/>
- <https://www.openjpeg.org/doxygen>


## Notes de sécurité

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

- **Risque Geiger:** blue / moyen
- broad file, network, media, or database tool signal

## Autres enregistrements de gestionnaires de paquets

- Nix - openjpeg: normalized package name match | nixpkgs package indexes: pkgs/by-name/op/openjpeg/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - openjpeg - 2.5.4-r1: normalized package name match | Alpine Linux edge package indexes: openjpeg from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Open-source implementation of JPEG2000 image codec | https://www.openjpeg.org/
- apk - openjpeg-dev - 2.5.4-r1: normalized package name match | Alpine Linux edge package indexes: openjpeg-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Open-source implementation of JPEG2000 image codec (development files) | https://www.openjpeg.org/
- apk - openjpeg-tools - 2.5.4-r1: normalized package name match | Alpine Linux edge package indexes: openjpeg-tools from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Open-source implementation of JPEG2000 image codec - tools | https://www.openjpeg.org/
- dnf - mingw32-openjpeg - 2.5.4-4.fc45: normalized package name match | Fedora Rawhide package metadata: mingw32-openjpeg from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | MinGW Windows openjpeg library | https://github.com/uclouvain/openjpeg
- dnf - mingw32-openjpeg-tools - 2.5.4-4.fc45: normalized package name match | Fedora Rawhide package metadata: mingw32-openjpeg-tools from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Tools for the MinGW Windows openjpeg library | https://github.com/uclouvain/openjpeg
- dnf - mingw64-openjpeg - 2.5.4-4.fc45: normalized package name match | Fedora Rawhide package metadata: mingw64-openjpeg from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | MinGW Windows openjpeg library | https://github.com/uclouvain/openjpeg
- dnf - mingw64-openjpeg-tools - 2.5.4-4.fc45: normalized package name match | Fedora Rawhide package metadata: mingw64-openjpeg-tools from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Tools for the MinGW Windows openjpeg library | https://github.com/uclouvain/openjpeg
- dnf - openjpeg - 2.5.4-4.fc45: normalized package name match | Fedora Rawhide package metadata: openjpeg from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | C-Library for JPEG 2000 | https://github.com/uclouvain/openjpeg
- dnf - openjpeg-devel - 2.5.4-4.fc45: normalized package name match | Fedora Rawhide package metadata: openjpeg-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development files for OpenJPEG 2 | https://github.com/uclouvain/openjpeg
- dnf - openjpeg-devel-docs - 2.5.4-4.fc45: normalized package name match | Fedora Rawhide package metadata: openjpeg-devel-docs from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Developer documentation for OpenJPEG 2 | https://github.com/uclouvain/openjpeg
- dnf - openjpeg-tools - 2.5.4-4.fc45: normalized package name match | Fedora Rawhide package metadata: openjpeg-tools from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | OpenJPEG 2 command line tools | https://github.com/uclouvain/openjpeg
- MacPorts - openjpeg: normalized package name match | MacPorts ports tree: graphics/openjpeg/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Liens liés

- [leptonica](https://pkg.so/fr/pkg/brew/leptonica/) - Leptonica declares OpenJPEG as a Homebrew runtime dependency.

## Combined YAML source

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


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- package-page supplement data/pkg-pages/brew/openjpeg.json
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
