MagickCore-config(1)

MagickCore-config1

Get information about the installed version of imagemagick

Usage

MagickCore-config [--cflags] [--cppflags] [--exec-prefix] [--ldflags] [--libs] [--prefix] [--version]

Overview

The MagickCore-config utility prints the compiler and linker flags required to compile and link programs that use the ImageMagick Core Application Programmer Interface.

The following options are available:

--cppflags, --cflags, --cxxflags

Print the compiler flags that are needed to find the ImageMagick(1) C include files and defines to ensure that the ImageMagick data structures match between your program and the installed libraries.

--prefix, --exec-prefix

Print the directory under which target specific binaries and executables are installed.

--ldflags, --libs

Print the linker flags that are needed to link with the ImageMagick(1) library.

--version

Print the version of the ImageMagick(1) distribution to standard output.

--coder-path

Print the path where the ImageMagick(1) coder modules are installed.

--filter-path

Print the path where the ImageMagick(1) filter modules are installed.

Examples

To print the version of the installed distribution of ImageMagick use:

MagickCore-config --version

To compile a program that calls the ImageMagick(1) Application Programmer Interface, use:

cc `MagickCore-config --cppflags --ldflags` program.c

Releases

3 releases since Debian 6.0 (Squeeze); the text changed 1 time.

  1. 6.0–7
  2. Arch

--coder-path since Arch Linux 2026-11-01; --cxxflags since Arch Linux 2026-11-01; --filter-path since Arch Linux 2026-11-01; --prefix since Arch Linux 2026-11-01.

License

ImageMagick is licensed with a derived Apache license 2.0. See https://imagemagick.org/license/ for more details.

Authors

The ImageMagick suite and this manual page where written by Cristy, ImageMagick Studio LLC <[email protected]>.

From imagemagick 7.1.2.35-1 in Arch Linux 2026-11-01. Parsed by carta from the page's mdoc source.