GraphicsMagick-Config(1)
Okay bestie, welcome to GraphicsMagick-Config(1) β¨ It lives in the General Commands Manual, section 1, and it is such a useful little tool π
π NAME π
GraphicsMagickWand-config β get info about the installed version of GraphicsMagick π¦
πΈ SYNOPSIS πΈ
GraphicsMagickWand-config [--cflags] [--cppflags] [--exec-prefix]
[--ldflags] [--libs] [--prefix] [--version]
π DESCRIPTION π
Okay so GraphicsMagickWand-config basically prints the compiler and linker flags you need to compile and link programs that use the GraphicsMagick Wand Application Programmer Interface. It's giving "everything you need, nothing you don't" π«Ά
β EXAMPLES β
Wanna check which version of GraphicsMagick you've got? Just run this, it's literally one line π§
GraphicsMagickWand-config --version
And if you're trying to compile a program that calls the GraphicsMagick Wand API, do this. Main character energy π
cc `GraphicsMagickWand-config --cflags --cppflags --ldflags --libs` program.c
β¨ OPTIONS β¨
--cflagsβ grabs the compiler flags that were used to buildlibGraphicsMagick. π§--cppflagsβ gives you the preprocessor flags needed to find the GraphicsMagick C include files and defines. This is the part that makes sure your GraphicsMagick data structures match the installed libraries, so nothing gets weird π«Ά--exec-prefixβ shows the directory where target-specific binaries and executables get installed. π--ldflagsβ prints the linker flags needed to link with theGraphicsMagickWandlibrary. π₯--libsβ prints the linker flags needed to link a program withlibMagick. π--versionβ prints the version of the GraphicsMagick distribution to standard output. π
π¦ COPYRIGHT π¦
Lowkey legal stuff, but you should know it:
Copyright (C) 2003 GraphicsMagick GroupCopyright (C) 2002 ImageMagick Studio
π AUTHORS π
Bob Friesenhahn, the queen who made this happen π
And that's the tea β This page is from GraphicsMagick, dated 15 June 2003, and it's GraphicsMagick-Config(1). Periodt π π
π¦ where this page comes from
- alpine 3.24: graphicsmagick-doc 1.3.47-r0 Β· MIT
- arch rolling: graphicsmagick 1.3.49-3 Β· MIT
- debian bookworm: libgraphicsmagick1-dev 1.4+really1.3.40-4+deb12u1
- debian trixie: libgraphicsmagick1-dev 1.4+really1.3.45+hg17696-1
- epel 10: GraphicsMagick-devel 1.3.45-1.el10_1 Β· MIT
- epel 9: GraphicsMagick-devel 1.3.38-1.el9 Β· MIT
- fedora 43: GraphicsMagick-devel 1.3.45-5.fc43 Β· MIT
- fedora 43: GraphicsMagick-devel 1.3.45-5.fc43 Β· MIT
- fedora 44: GraphicsMagick-devel 1.3.45-7.fc44 Β· MIT
- fedora 44: GraphicsMagick-devel 1.3.45-7.fc44 Β· MIT
- nixpkgs unstable: graphicsmagick 1.3.49
- opensuse-leap 16.0: GraphicsMagick-devel 1.3.45-160000.13.1 Β· MIT
- opensuse-leap 16.0: GraphicsMagick-devel 1.3.45-160000.13.1 Β· MIT
- opensuse-leap 16.0: GraphicsMagick-devel 1.3.45-160000.13.1 Β· MIT
- opensuse-leap 16.0: GraphicsMagick-devel 1.3.45-160000.13.1 Β· MIT
- ubuntu jammy: libgraphicsmagick1-dev 1.4+really1.3.38-1
- ubuntu jammy: libgraphicsmagick1-dev 1.4+really1.3.38-1ubuntu0.1
- ubuntu noble: libgraphicsmagick1-dev 1.4+really1.3.42-1.1build3
- ubuntu questing: libgraphicsmagick1-dev 1.4+really1.3.45+hg17696-1build1
- ubuntu resolute: libgraphicsmagick1-dev 1.4+really1.3.46-2
- ubuntu stonking: libgraphicsmagick1-dev 1.4+really1.3.48-2
- π girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms