HomeImagickImagickDrawImagickPixelImagick Pixel IteratorImagick KernelTutorial Source codeReport an issue
Category
Example

Imagick::getConfigureOptions

← gaussianBlurImage   getCopyright →

Returns the list of configure options used by ImageMagick.


Configure options are:
CC: gcc 
CFLAGS: -I/usr/include/libxml2 -I/usr/include/x86_64-linux-gnu -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -fopenmp -Wall -g -O2 -mtune=amdfam10 -fexceptions -pthread -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16
CODER_PATH: /usr/im7/lib/ImageMagick-7.1.0/modules-Q16HDRI/coders
CONFIGURE: ./configure '--disable-docs' '--with-quantum-depth=16' '--with-fftw' '--with-fontconfig=yes' '--with-jpeg=yes' '--with-magick-plus-plus=no' '--with-png=yes' '--with-tiff=yes' '--with-webp=yes' '--without-perl' '--prefix=/usr/im7' '--exec-prefix=/usr/im7'
CONFIGURE_PATH: /usr/im7/etc/ImageMagick-7/
COPYRIGHT: Copyright (C) 1999 ImageMagick Studio LLC
CPPFLAGS: -I/usr/im7/include/ImageMagick-7
CXX: g++
CXXFLAGS: -pthread
DEFS: -DHAVE_CONFIG_H
DELEGATES: fftw freetype jbig jng jpeg lzma png ps tiff webp xml zlib
DISTCHECK_CONFIG_FLAGS: --disable-deprecated --with-quantum-depth=16 --with-jemalloc=no --with-umem=no --with-autotrace=no --with-dps=no --with-flif=no --with-fpx=no --with-gslib=no --with-fontpath= --with-rsvg=no --with-wmf=no --with-perl=no
DOCUMENTATION_PATH: /usr/im7/share/doc/ImageMagick-7
EXEC-PREFIX: /usr/im7
EXECUTABLE_PATH: /usr/im7/bin
FEATURES: DPC HDRI Cipher OpenMP
FILTER_PATH: /usr/im7/lib/ImageMagick-7.1.0/modules-Q16HDRI/filters
GIT_REVISION: d68553b17:20221230
HOST: x86_64-pc-linux-gnu
INCLUDE_PATH: /usr/im7/include/ImageMagick-7
LDFLAGS: -L/usr/im7/lib
LIB_VERSION: 0x710
LIB_VERSION_NUMBER: 7,1,0,57
LIBRARY_PATH: /usr/im7/lib/ImageMagick-7.1.0
LIBS: -ljbig -ltiff -lfreetype -ljpeg -lpng16 -lz -lfftw3 -lwebpmux -lwebpdemux -lwebp -lwebp -llzma -lxml2 -lz -lm -lpthread -lgomp
MAGICK_TEMPORARY_PATH: /tmp
NAME: ImageMagick
PCFLAGS: -fopenmp -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16
PREFIX: /usr/im7
QuantumDepth: 16
RELEASE_DATE: 2022-12-30
SHARE_PATH: /usr/im7/share/ImageMagick-7
SHAREARCH_PATH: /usr/im7/lib/ImageMagick-7.1.0/config-Q16HDRI
TARGET_CPU: x86_64
TARGET_OS: linux-gnu
TARGET_VENDOR: pc
VERSION: 7.1.0
WEBSITE: https://imagemagick.org

Example

$configure_options = \Imagick::getConfigureOptions();
$output = "Configure options are:<pre>";
foreach ($configure_options as $key => $value) {
    $output .= "$key: $value <br/>";
}
$output .= "</pre>";