🍺 BREW Explorer

← all formulae

grokj2k

brew install grokj2k v20.3.5 AGPL-3.0-or-later

JPEG 2000 Library

29
30-day installs · #5908
255
90-day · #3792
634
365-day · #4610
286
★ GitHub stars · updated 2mo ago

Runtime dependencies

Build dependencies

GitHub topics

c-plus-plus codec compression image iso-iec-15444-15 itu-t-t-814 jpeg2000 jpeg2000-part15 lossless-image-compression lossy-image-compression webassembly

Links

Raw metadata
{
  "aliases": [],
  "alternatives": [],
  "build_dependencies": [
    "cmake",
    "doxygen",
    "pkgconf"
  ],
  "categories": [],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [
    "fmt",
    "jpeg-turbo",
    "libpng",
    "libtiff",
    "little-cms2",
    "xz",
    "zstd"
  ],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "JPEG 2000 Library",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:38:27+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "grokj2k",
  "github_default_branch": "master",
  "github_last_commit_at": "2026-06-19T03:21:01Z",
  "github_readme_excerpt": "# Grok\n\n[![badge-license]][link-license]\n[![badge-actions]][link-actions]\n[![badge-oss-fuzz]][link-oss-fuzz]\n\n\u003cspan\u003e\n \u003ca href=\"https://jpeg.org/jpeg2000/index.html\" target=\"_blank\"\u003e\n  \u003cimg src=\"https://jpeg.org/images/jpeg2000-logo.svg\" width=200, height=200 /\u003e\n \u003c/a\u003e\n\u003c/span\u003e\n\u003cp\u003e\n\nGrok is an open-source JPEG 2000 codec licensed under AGPL v3.\n\n### Performance\n\nGrok is integrated into [GDAL](https://gdal.org).\nBenchmark results (16 threads, GDAL release build, Fedora 42):\n\n| Workflow                     | Grok (JP2Grok) | Kakadu (JP2KAK) | OpenJPEG     |\n|------------------------------|----------------|------------------|--------------|\n| Spot 6 (Network Storage)    | 35.17 s        | 344 s            | 85 s         |\n| Spot 6 (Local Storage)      | 26.92 s        | 30.57 s          | 52.09 s      |\n| Pleiades (Region)           | 0.74 s         | 1.41 s           | 4.28 s       |\n\n### Features\n- High Throughput JPEG 2000 (HTJ2K) support\n- Random-access sub-image decoding (TLM + PLT markers)\n- [Multi-level tile cache](doc/TileCache.md) with LRU eviction and compressed chunk caching\n- [S3 / cloud storage](doc/S3.md) with network fetch caching and disk spillover\n- ICC color profiles, XML/IPTC/XMP/EXIF metadata\n- Monochrome, sRGB, palette, YCC, extended YCC, CIELab, CMYK\n- 1\u201316 bit precision\n- JPEG/PNG/BMP/TIFF/RAW/PNM/PAM I/O\n- Linux (x86-64/AArch64), Windows, macOS, WebAssembly\n\n### Transcoding (`grk_transcode`)\n\n`grk_transcode` rewrites JP2/J2K files at the packet level \u2014 no full decompression required. Supported operations:\n\n- Insert **TLM** (Tile-part Length) and **PLT** (Packet Length) markers for random access\n- Inject **SOP** / **EPH** markers\n- Truncate quality layers (`--max-layers`)\n- Strip resolution levels (`--max-res`)\n- Reorder packet progression (LRCP, RLCP, RPCL, PCRL, CPRL)\n\nExample \u2014 add TLM + PLT markers to an existing file:\n```\ngrk_transcode -i input.jp2 -o output.jp2 -X -L\n```\n\n### Testing\n- 2,000+ unit tests\n- Continuous fuzzing via [OSS-Fuzz](http",
  "github_repo": "GrokImageCompression/grok",
  "github_stars": 286,
  "github_topics": [
    "c-plus-plus",
    "codec",
    "compression",
    "image",
    "iso-iec-15444-15",
    "itu-t-t-814",
    "jpeg2000",
    "jpeg2000-part15",
    "lossless-image-compression",
    "lossy-image-compression",
    "webassembly"
  ],
  "homepage": "https://github.com/GrokImageCompression/grok",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 29,
  "installs_365d": 634,
  "installs_90d": 255,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "AGPL-3.0-or-later",
  "llm_generated_at": null,
  "llm_model": null,
  "name": "grokj2k",
  "oldnames": [],
  "one_liner": null,
  "optional_dependencies": [],
  "rank_30d": 5908,
  "rank_365d": 4610,
  "rank_90d": 3792,
  "raw_hash": "6352dd8e3412fa6c",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/g/grokj2k.rb",
  "tap": "homebrew/core",
  "test_dependencies": [
    "exiftool"
  ],
  "uses_from_macos": [],
  "version_head": "HEAD",
  "version_stable": "20.3.5",
  "versioned_formulae": [],
  "why_use_this": null
}