# Install grokj2k with Homebrew

JPEG 2000 Library. Version 20.3.6 via Homebrew; verified 2026-06-27.

## Install

```sh
sudo av install brew:grokj2k
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install grokj2k
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:grokj2k
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/grokj2k>
- **Version:** 20.3.6
- **Source summary:** JPEG 2000 Library
- **Homepage:** <https://github.com/GrokImageCompression/grok>
- **Repository:** <https://github.com/GrokImageCompression/grok>
- **Upstream docs:** <https://github.com/GrokImageCompression/grok#readme>
- **License:** AGPL-3.0-or-later
- **Source archive:** <https://github.com/GrokImageCompression/grok/releases/download/v20.3.6/source-full.tar.gz>
- **Last updated:** 2026-06-27T22:05:09Z
- **Generated:** 2026-07-10T07:20:53+00:00

## Executables

- grk_compress (cli)
- grk_decompress (cli)
- grk_dump (cli)
- grk_transcode (cli)
- grk_compress (alias)
- grk_decompress (alias)
- grk_dump (alias)
- grk_transcode (alias)

## Dependencies

- fmt
- jpeg-turbo
- libpng
- libtiff
- little-cms2
- xz
- zstd

## Build dependencies

- cmake
- doxygen
- pkgconf

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-10
- Package-manager version: 20.3.6
- Package-manager updated: 2026-06-27
- Local data: ok
- Upstream repository: https://github.com/GrokImageCompression/grok
- info: No cached GitHub release or tag data was available.
## Project history and usage

grokj2k packages Grok, an open-source JPEG 2000 codec focused on fast encoding, decoding, transcoding, and modern JPEG 2000 features.

### Project history

The Grok repository describes the project as an AGPL-licensed JPEG 2000 codec. Its command-line tools include compression, decompression, dumping, and packet-level transcoding utilities for JP2 and J2K workflows.

The project presents itself as a high-performance codec with support for High Throughput JPEG 2000, random-access decoding markers, cloud/S3-oriented I/O, metadata handling, broad pixel-format support, and bindings for several languages.

### Adoption history

Grok's packaging history is tied to specialist image, geospatial, preservation, and scientific workflows where JPEG 2000 remains useful. The upstream README specifically notes integration into GDAL, making the package relevant to users who need JPEG 2000 support through geospatial tooling.

### How it is used

Package users typically reach it through utilities such as `grk_compress`, `grk_decompress`, `grk_dump`, and `grk_transcode`. The transcoder can rewrite JPEG 2000 files at packet level for operations such as adding TLM and PLT markers without a full decode/re-encode cycle.

### Why package nerds care

For package nerds, grokj2k sits in the same small but important corner as OpenJPEG, Kakadu, JasPer, and image-library delegates: it is not a daily shell toy, but it determines whether image stacks can process JP2/J2K data reproducibly from system packages.

### Timeline

- 2016: The GitHub repository was created.
- 2020s: The project emphasized high-performance JPEG 2000, HTJ2K, transcoding, cloud I/O, and fuzz testing.
- 2020s: Homebrew packaged the command-line tools as `grokj2k`.

### Related projects

- Related projects include OpenJPEG, Kakadu, JasPer, GDAL's JP2 drivers, image servers that consume JPEG 2000, and preservation workflows that use JP2/J2K assets.

### Sources

- <https://api.github.com/repos/GrokImageCompression/grok>
- <https://api.github.com/repos/GrokImageCompression/grok/releases>
- <https://gdal.org/en/stable/drivers/raster/jp2grok.html>
- <https://github.com/GrokImageCompression/grok>
- <https://github.com/GrokImageCompression/grok#readme>


## Security Notes

No matching local secret-handling manifest was found for grokj2k. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** grokj2k
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Archive and compression packages](https://www.automicvault.com/pkg/archive-compression-tools/) - Matched archive or compression metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [jpeg-turbo](https://www.automicvault.com/pkg/brew/jpeg-turbo/) - Runtime dependency declared by Homebrew.
- [libpng](https://www.automicvault.com/pkg/brew/libpng/) - Runtime dependency declared by Homebrew.
- [libtiff](https://www.automicvault.com/pkg/brew/libtiff/) - Runtime dependency declared by Homebrew.
- [little-cms2](https://www.automicvault.com/pkg/brew/little-cms2/) - Runtime dependency declared by Homebrew.
- [xz](https://www.automicvault.com/pkg/brew/xz/) - Runtime dependency declared by Homebrew.
- [zstd](https://www.automicvault.com/pkg/brew/zstd/) - Runtime dependency declared by Homebrew.
- [cmake](https://www.automicvault.com/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [doxygen](https://www.automicvault.com/pkg/brew/doxygen/) - Build dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [catimg](https://www.automicvault.com/pkg/brew/catimg/) - Shares av.db curated category or tags: cli, image, media.
- [faac](https://www.automicvault.com/pkg/brew/faac/) - Shares av.db curated category or tags: cli, codec, media.
- [faad2](https://www.automicvault.com/pkg/brew/faad2/) - Shares av.db curated category or tags: cli, codec, media.
- [gif2png](https://www.automicvault.com/pkg/brew/gif2png/) - Shares av.db curated category or tags: cli, image, media.
- [gifcap](https://www.automicvault.com/pkg/brew/gifcap/) - Shares av.db curated category or tags: cli, image, media.
- [gifsicle](https://www.automicvault.com/pkg/brew/gifsicle/) - Shares av.db curated category or tags: cli, image, media.
- [gifski](https://www.automicvault.com/pkg/brew/gifski/) - Shares av.db curated category or tags: cli, image, media.
- [gimme-aws-creds](https://www.automicvault.com/pkg/brew/gimme-aws-creds/) - Shares av.db curated category or tags: cli, image, media.
- [jbig2enc](https://www.automicvault.com/pkg/brew/jbig2enc/) - Both packages work with overlapping file formats or content types. Shared terms: cli, compression, image, image-compression, jpeg.
- [openjpeg](https://www.automicvault.com/pkg/brew/openjpeg/) - Both packages work with overlapping file formats or content types. Shared terms: cli, cms2, codec, compress, compression.
- [openjph](https://www.automicvault.com/pkg/brew/openjph/) - Both packages work with overlapping file formats or content types. Shared terms: cli, codec, compress, compression, image.

## Combined YAML source

View the package source record on GitHub. [combined/grokj2k.yml](https://github.com/automic-vault/db/blob/main/combined/grokj2k.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
