# Install graphicsmagick with Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, pacman, scoop, zypper

Image processing tools collection. Version 1.3.47 via Homebrew; verified 2026-07-05.

## Install

```sh
sudo av install brew:graphicsmagick
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install graphicsmagick
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install GraphicsMagick
```

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

### Linux

- apk (92%):

```sh
sudo apk add graphicsmagick
```

  Evidence: Alpine Linux edge package indexes: graphicsmagick from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install graphicsmagick
```

  Evidence: Debian stable package indexes: graphicsmagick from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install GraphicsMagick
```

  Evidence: Fedora Rawhide package metadata: GraphicsMagick from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#graphicsmagick
```

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

- pacman (92%):

```sh
sudo pacman -S graphicsmagick
```

  Evidence: Arch Linux sync databases: graphicsmagick from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install GraphicsMagick
```

  Evidence: openSUSE Tumbleweed package metadata: GraphicsMagick from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

### Windows

- Chocolatey (92%):

```sh
choco install graphicsmagick
```

  Evidence: Chocolatey community package catalog: graphicsmagick from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','gpg4win-vanilla'

- Scoop (92%):

```sh
scoop install main/graphicsmagick
```

  Evidence: Scoop official bucket manifest trees: bucket/graphicsmagick.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:graphicsmagick
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/graphicsmagick>
- **Version:** 1.3.47
- **Source summary:** Image processing tools collection
- **Homepage:** <https://graphicsmagick.sourceforge.io/>
- **Repository:** <https://foss.heptapod.net/graphicsmagick/graphicsmagick>
- **Upstream docs:** <https://graphicsmagick.sourceforge.io/FAQ.html>
- **License:** MIT
- **Source archive:** <https://downloads.sourceforge.net/project/graphicsmagick/graphicsmagick/1.3.47/GraphicsMagick-1.3.47.tar.xz>
- **Last updated:** 2026-07-05T23:07:18Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- GraphicsMagick++-config (cli)
- GraphicsMagick-config (cli)
- GraphicsMagickWand-config (cli)
- gm (cli)
- GraphicsMagick++-config (alias)
- GraphicsMagick-config (alias)
- GraphicsMagickWand-config (alias)
- gm (alias)

## Dependencies

- freetype
- jasper
- jpeg-turbo
- jpeg-xl
- libheif
- libpng
- libtiff
- libtool
- little-cms2
- webp
- zstd

## Build dependencies

- pkgconf

## Uses from macOS

- bzip2
- libxml2

## 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-08
- Package-manager version: 1.3.47
- Package-manager updated: 2026-07-05
- Local data: ok
- Upstream repository: https://graphicsmagick.sourceforge.io/
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

GraphicsMagick is a command-line and library image-processing suite centered on the `gm` executable. It descends from ImageMagick but intentionally emphasizes long-term interface compatibility, a stable release branch, smaller dependency footprints, and predictable behavior for scripted image conversion workflows.

In package-manager culture it occupies the practical space between heavyweight imaging frameworks and single-purpose converters: install it, call `gm convert`, `gm identify`, or `gm mogrify`, and get a stable Unix-friendly toolchain for raster and vector image transformations.

### Project history

The project was created on November 19, 2002 as a fork of ImageMagick shortly before the ImageMagick 5.5.2 release. The GraphicsMagick project described its objectives as open development, developer participation, reduced source churn, a preserved stable API, efficient code, improved memory use, a reliable release process, and an accurate ChangeLog.

Early releases renamed the installed libraries, headers, configuration scripts, and Perl namespace from ImageMagick names to GraphicsMagick names, while consolidating user-facing utilities behind the `gm` command. That namespace split made it possible for systems to package GraphicsMagick alongside other image tools without pretending it was only a drop-in binary clone.

GraphicsMagick's FAQ frames the fork as a stability and compatibility project: command syntax and APIs remained upward compatible with ImageMagick 5.5.2, while GraphicsMagick stopped importing later ImageMagick source after licensing and project-direction changes. This makes the package historically important as both a technical fork and a packaging-policy fork.

### Adoption history

GraphicsMagick became attractive to Unix package maintainers because it retained a permissive MIT-style license, exposed command-line tools and C/C++ APIs, and kept dependencies comparatively restrained. Its own FAQ calls out smaller installation footprint and fewer external libraries than ImageMagick on some systems, which is exactly the kind of difference distribution maintainers notice.

The package spread through mainstream operating-system package sets as a stable image conversion dependency for scripts, build systems, and web backends. Homebrew, Debian, Fedora, MacPorts, Nix, Arch, Alpine, Chocolatey, Scoop, and other package managers all carry it under recognizable GraphicsMagick naming.

The project also invested in performance work useful to batch processing: release notes describe OpenMP acceleration, multi-core CPU work, faster image I/O, and optimizations for large images. Those choices helped GraphicsMagick retain relevance in server-side conversion pipelines where reproducibility and throughput matter more than a broad UI surface.

### How it is used

The common package-manager use case is installing the `gm` CLI and invoking subcommands such as `gm convert`, `gm identify`, `gm mogrify`, `gm montage`, `gm composite`, and `gm display`. Existing ImageMagick 5-era scripts often require only the `gm` prefix or compatibility links, while new scripts can rely on the explicit GraphicsMagick command namespace.

GraphicsMagick is also used as a library dependency through GraphicsMagick, GraphicsMagick++, and GraphicsMagickWand configuration scripts. Build systems use those scripts or pkg-config metadata to compile software that reads, writes, transforms, or inspects images.

Configuration lives in `.mgk` files such as colors, delegates, log, modules, and type definitions. That matters to packagers because delegate programs and codec support vary by platform and build options.

### Why package nerds care

GraphicsMagick is a classic fork that package maintainers can explain in one sentence: ImageMagick lineage, steadier API, smaller dependency appetite, and the `gm` command. That clarity made it easy to expose as an alternative dependency in ports trees and Linux distributions.

It is also a useful example of why package history is not only version numbers. Licensing, trademarks, API stability, dependency count, and command naming all shaped the package's identity as much as image-processing features did.

For Homebrew-style users, GraphicsMagick is the kind of formula installed indirectly by image workflows and directly by people who prefer predictable CLI behavior for scripted conversion jobs.

### Timeline

- 1992: ImageMagick development began at E. I. du Pont de Nemours and Company, according to the GraphicsMagick FAQ.
- 1999: ImageMagick Studio LLC forked ImageMagick, according to the GraphicsMagick FAQ.
- 2002: GraphicsMagick was created as a fork shortly before ImageMagick 5.5.2.
- 2003: GraphicsMagick 1.0 was released, with renamed libraries and utilities consolidated under `gm`.
- 2004: GraphicsMagick 1.1 followed with additional platform and stability work.
- 2008: GraphicsMagick 1.3 established a long-lived release line.

### Related projects

- ImageMagick is the direct ancestor and the project GraphicsMagick is most often compared with.
- Ghostscript, FreeType, libpng, libtiff, libjpeg, WebP, and other delegate libraries shape which formats a GraphicsMagick build can handle.
- Graphviz is unrelated technically but often appears nearby in package graphs because both are long-lived Unix graphics tools with CLI-first workflows.

### Sources

- <https://foss.heptapod.net/graphicsmagick/graphicsmagick>
- <https://graphicsmagick.sourceforge.io/FAQ.html>
- <https://graphicsmagick.sourceforge.io/NEWS.html>
- <https://graphicsmagick.sourceforge.io/README.html>


## Security Notes

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



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ~/.magick/colors.mgk, ~/.magick/delegates.mgk, ~/.magick/log.mgk, ~/.magick/modules.mgk, ~/.magick/type.mgk
## Source Database Details

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

## Other Package-Manager Records

- Debian apt - graphicsmagick - 1.4+really1.3.45+hg17696-1: normalized package name match | Debian stable package indexes: graphicsmagick from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | collection of image processing tools | http://www.graphicsmagick.org/
- Debian apt - graphicsmagick-dbg - 1.4+really1.3.45+hg17696-1: normalized package name match | Debian stable package indexes: graphicsmagick-dbg from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | format-independent image processing - debugging symbols | http://www.graphicsmagick.org/
- Debian apt - graphicsmagick-imagemagick-compat - 1.4+really1.3.45+hg17696-1: normalized package name match | Debian stable package indexes: graphicsmagick-imagemagick-compat from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | image processing tools providing ImageMagick interface | http://www.graphicsmagick.org/
- Debian apt - graphicsmagick-libmagick-dev-compat - 1.4+really1.3.45+hg17696-1: normalized package name match | Debian stable package indexes: graphicsmagick-libmagick-dev-compat from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | image processing libraries providing ImageMagick interface | http://www.graphicsmagick.org/
- Debian apt - libgraphics-magick-perl - 1.4+really1.3.45+hg17696-1: normalized package name match | Debian stable package indexes: libgraphics-magick-perl from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | format-independent image processing - perl interface | http://www.graphicsmagick.org/
- Debian apt - libgraphicsmagick++-q16-12t64 - 1.4+really1.3.45+hg17696-1: normalized package name match | Debian stable package indexes: libgraphicsmagick++-q16-12t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | format-independent image processing - C++ shared library | http://www.graphicsmagick.org/
- Debian apt - libgraphicsmagick++1-dev - 1.4+really1.3.45+hg17696-1: normalized package name match | Debian stable package indexes: libgraphicsmagick++1-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | format-independent image processing - C++ development files | http://www.graphicsmagick.org/
- Debian apt - libgraphicsmagick-q16-3t64 - 1.4+really1.3.45+hg17696-1: normalized package name match | Debian stable package indexes: libgraphicsmagick-q16-3t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | format-independent image processing - C shared library | http://www.graphicsmagick.org/
- Debian apt - libgraphicsmagick1-dev - 1.4+really1.3.45+hg17696-1: normalized package name match | Debian stable package indexes: libgraphicsmagick1-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | format-independent image processing - C development files | http://www.graphicsmagick.org/
- Nix - graphicsmagick: normalized package name match | nixpkgs package indexes: pkgs/by-name/gr/graphicsmagick/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - graphicsmagick - 1.4+really1.3.42-1.1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: graphicsmagick from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | collection of image processing tools | http://www.graphicsmagick.org/
- Ubuntu apt - graphicsmagick-dbg - 1.4+really1.3.42-1.1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: graphicsmagick-dbg from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | format-independent image processing - debugging symbols | http://www.graphicsmagick.org/
- Ubuntu apt - graphicsmagick-imagemagick-compat - 1.4+really1.3.42-1.1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: graphicsmagick-imagemagick-compat from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | image processing tools providing ImageMagick interface | http://www.graphicsmagick.org/
- Ubuntu apt - graphicsmagick-libmagick-dev-compat - 1.4+really1.3.42-1.1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: graphicsmagick-libmagick-dev-compat from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | image processing libraries providing ImageMagick interface | http://www.graphicsmagick.org/
- Ubuntu apt - libgraphics-magick-perl - 1.4+really1.3.42-1.1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libgraphics-magick-perl from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | format-independent image processing - perl interface | http://www.graphicsmagick.org/
- Ubuntu apt - libgraphicsmagick++-q16-12t64 - 1.4+really1.3.42-1.1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libgraphicsmagick++-q16-12t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | format-independent image processing - C++ shared library | http://www.graphicsmagick.org/


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Media and graphics packages](https://www.automicvault.com/pkg/media-graphics-tools/) - Matched media, image, audio, video, or graphics metadata.
- [Homebrew utility packages](https://www.automicvault.com/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [freetype](https://www.automicvault.com/pkg/brew/freetype/) - Runtime dependency declared by Homebrew.
- [jasper](https://www.automicvault.com/pkg/brew/jasper/) - Runtime dependency declared by Homebrew.
- [jpeg-turbo](https://www.automicvault.com/pkg/brew/jpeg-turbo/) - Runtime dependency declared by Homebrew.
- [jpeg-xl](https://www.automicvault.com/pkg/brew/jpeg-xl/) - Runtime dependency declared by Homebrew.
- [libheif](https://www.automicvault.com/pkg/brew/libheif/) - 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.
- [libtool](https://www.automicvault.com/pkg/brew/libtool/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [octave](https://www.automicvault.com/pkg/brew/octave/) - Popular package that depends on this formula.
- [timg](https://www.automicvault.com/pkg/brew/timg/) - Popular package that depends on this formula.
- [gd](https://www.automicvault.com/pkg/brew/gd/) - Shares av.db curated category or tags: cli, graphics, image-processing, media.
- [libsail](https://www.automicvault.com/pkg/brew/libsail/) - Shares av.db curated category or tags: cli, graphics, image-processing, media.
- [imagemagick](https://www.automicvault.com/pkg/brew/imagemagick/) - Shares av.db curated category or tags: cli, graphics, image-conversion, image-processing, media.
- [netpbm](https://www.automicvault.com/pkg/brew/netpbm/) - Shares av.db curated category or tags: cli, graphics, image-conversion, image-processing, media.
- [triangle](https://www.automicvault.com/pkg/brew/triangle/) - Shares av.db curated category or tags: cli, graphics, image-processing, media.
- [babl](https://www.automicvault.com/pkg/brew/babl/) - Shares av.db curated category or tags: cli, graphics, image-processing, media.
- [efl](https://www.automicvault.com/pkg/brew/efl/) - Shares av.db curated category or tags: cli, graphics, libraries, media.
- [exact-image](https://www.automicvault.com/pkg/brew/exact-image/) - Shares av.db curated category or tags: cli, graphics, image-processing, media.

## Combined YAML source

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


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
