├── .editorconfig ├── .github ├── FUNDING.yml └── dependabot.yml ├── .gitignore ├── Artifacts └── bin │ ├── delegates.xml │ ├── sRGB.icc │ ├── type-ghostscript.xml │ └── type.xml ├── Build ├── MSYS2 │ └── PKGBUILD ├── OpenCL │ └── CL │ │ ├── cl.h │ │ ├── cl.hpp │ │ ├── cl_d3d10.h │ │ ├── cl_d3d11.h │ │ ├── cl_dx9_media_sharing.h │ │ ├── cl_ext.h │ │ ├── cl_gl.h │ │ ├── cl_gl_ext.h │ │ ├── cl_platform.h │ │ └── opencl.h ├── PerlMagick │ ├── Makefile.PL.in │ └── Zip.ps1 ├── nasm.exe └── package.version.h.in ├── CloneRepositories.IM6.cmd ├── CloneRepositories.IM7.cmd ├── CloneRepositories.sh ├── Installer ├── Inno │ ├── ImageMagick.iss │ ├── Magick++_Demo │ │ ├── Magick++_Demo.dsw │ │ ├── README.txt │ │ ├── button.dsp │ │ ├── demo.dsp │ │ ├── detrans.dsp │ │ ├── flip.dsp │ │ ├── gravity.dsp │ │ ├── piddle.dsp │ │ ├── run_demos.bat │ │ ├── shapes.dsp │ │ └── zoom.dsp │ ├── PathTool │ │ ├── PathTool.exe │ │ └── README.txt │ ├── PerlMagick-PPM.txt │ ├── README.txt │ ├── config.isx.in │ ├── inc │ │ ├── body.isx │ │ ├── files-base.isx │ │ ├── files-configs.isx │ │ ├── files-development.isx │ │ ├── files-dlls.isx │ │ ├── files-documentation.isx │ │ ├── files-licenses.isx │ │ ├── files-perlmagick.isx │ │ ├── icons-associate.isx │ │ ├── modpath.iss │ │ ├── registry-application.isx │ │ ├── run-pathtool.isx │ │ ├── run-ppm.isx │ │ ├── setup.isx │ │ ├── tasks-install-devel.isx │ │ ├── tasks-install-perlmagick.isx │ │ ├── tasks-legacy.isx │ │ ├── tasks-update-path.isx │ │ ├── uninstallrun-pathtool.isx │ │ └── uninstallrun-ppm.isx │ └── txt │ │ └── license.rtf └── Msix │ ├── Assets │ ├── ImageMagick.svg │ └── Logo │ │ ├── 100x100.png │ │ ├── 107x107.png │ │ ├── 1240x1240.png │ │ ├── 1240x600.png │ │ ├── 142x142.png │ │ ├── 150x150.png │ │ ├── 16x16.png │ │ ├── 176x176.png │ │ ├── 188x188.png │ │ ├── 200x200.png │ │ ├── 225x225.png │ │ ├── 2480x1200.png │ │ ├── 24x24.png │ │ ├── 256x256.png │ │ ├── 284x284.png │ │ ├── 300x300.png │ │ ├── 30x30.png │ │ ├── 310x150.png │ │ ├── 310x310.png │ │ ├── 32x32.png │ │ ├── 36x36.png │ │ ├── 388x188.png │ │ ├── 388x388.png │ │ ├── 44x44.png │ │ ├── 465x225.png │ │ ├── 465x465.png │ │ ├── 48x48.png │ │ ├── 50x50.png │ │ ├── 55x55.png │ │ ├── 600x600.png │ │ ├── 620x300.png │ │ ├── 620x620.png │ │ ├── 63x63.png │ │ ├── 66x66.png │ │ ├── 71x71.png │ │ ├── 75x75.png │ │ ├── 775x375.png │ │ ├── 88x88.png │ │ ├── 89x89.png │ │ ├── 930x450.png │ │ ├── 96x96.png │ │ └── ImageMagick.svg │ ├── ImageMagick.Q16-HDRI.aip │ ├── ImageMagick.Q16.aip │ └── ImageMagick.Q8.aip ├── ProjectConfigs ├── Magick++ │ ├── Config.txt │ └── ImageMagick.rc ├── MagickCore │ ├── Config.txt │ ├── ImageMagick.rc │ └── magick-baseconfig.h.in ├── MagickWand │ ├── Config.txt │ └── ImageMagick.rc ├── coders │ ├── Config.dng.txt │ ├── Config.emf.txt │ ├── Config.exr.txt │ ├── Config.flif.txt │ ├── Config.heic.txt │ ├── Config.jbig.txt │ ├── Config.jp2.txt │ ├── Config.jpeg.txt │ ├── Config.jxl.txt │ ├── Config.mat.txt │ ├── Config.miff.txt │ ├── Config.msl.txt │ ├── Config.ora.txt │ ├── Config.pango.txt │ ├── Config.png.txt │ ├── Config.psd.txt │ ├── Config.svg.txt │ ├── Config.tiff.txt │ ├── Config.ttf.txt │ ├── Config.txt │ ├── Config.url.txt │ ├── Config.webp.txt │ └── ImageMagick.rc ├── demos │ └── Config.txt ├── filters │ └── Config.txt ├── oss-fuzz │ └── Config.txt └── utilities │ ├── Aliases.magick.txt │ ├── Config.txt │ └── ImageMagick.rc └── Readme.md /.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | indent_style = space 4 | insert_final_newline = true 5 | trim_trailing_whitespace = true 6 | 7 | [*.{sh}] 8 | 9 | indent_size = 4 10 | tab_width = 4 11 | 12 | [*.{c,cpp,h,txt,md,yml}] 13 | 14 | indent_size = 2 15 | tab_width = 2 16 | 17 | -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: ImageMagick 2 | custom: https://imagemagick.org/script/support.php 3 | -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- 1 | version: 2 2 | updates: 3 | - package-ecosystem: "github-actions" 4 | directory: "/" 5 | schedule: 6 | interval: "weekly" 7 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /Artifacts/* 2 | 3 | /Build/package.version.h 4 | /Build/version.h 5 | 6 | /Configure 7 | 8 | /Dependencies/* 9 | 10 | /ImageMagick 11 | 12 | /Installer/Inno/config.isx 13 | /Installer/Inno/Artifacts/* 14 | 15 | /OptionalDependencies/* 16 | 17 | /ProjectConfigs/utilities/ImageMagick.version.h 18 | 19 | /*.Projects/* 20 | 21 | /*.sln 22 | 23 | .vs 24 | -------------------------------------------------------------------------------- /Artifacts/bin/delegates.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 9 | ]> 10 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | -------------------------------------------------------------------------------- /Artifacts/bin/sRGB.icc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/ImageMagick-Windows/925b29a5b8e3d3464c8eed214e9dfa2953599285/Artifacts/bin/sRGB.icc -------------------------------------------------------------------------------- /Artifacts/bin/type-ghostscript.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | ]> 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | -------------------------------------------------------------------------------- /Artifacts/bin/type.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | ]> 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /Build/MSYS2/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Adapted from upstream: 2 | # https://github.com/msys2/MINGW-packages/tree/master/mingw-w64-imagemagick 3 | 4 | # Maintainer: Alexey Pavlov 5 | 6 | _realname=imagemagick 7 | pkgbase="mingw-w64-${_realname}" 8 | pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}" 9 | "${MINGW_PACKAGE_PREFIX}-${_realname}-docs") 10 | _basever=7.1.1 11 | _rc=-47 12 | pkgver=${_basever}${_rc//-/.} # pkgver doesn't have "," "/", "-" and space. 13 | pkgrel=1 14 | pkgdesc="An image viewing/manipulation program (mingw-w64)" 15 | arch=('any') 16 | mingw_arch=('mingw64' 'ucrt64' 'clang64' 'clangarm64') 17 | url="https://www.imagemagick.org/" 18 | msys2_repository_url="https://github.com/ImageMagick/ImageMagick" 19 | msys2_references=( 20 | 'archlinux: imagemagick' 21 | 'aur: imagemagick-full' 22 | 'cygwin: ImageMagick' 23 | 'gentoo: media-gfx/imagemagick' 24 | 'cpe: cpe:/a:imagemagick:imagemagick' 25 | ) 26 | license=("spdx:ImageMagick") 27 | makedepends=("${MINGW_PACKAGE_PREFIX}-cc" 28 | "${MINGW_PACKAGE_PREFIX}-autotools" 29 | "${MINGW_PACKAGE_PREFIX}-pkgconf" 30 | "${MINGW_PACKAGE_PREFIX}-cairo" 31 | "${MINGW_PACKAGE_PREFIX}-ghostscript" 32 | "${MINGW_PACKAGE_PREFIX}-graphviz" 33 | "${MINGW_PACKAGE_PREFIX}-libjxl" 34 | "${MINGW_PACKAGE_PREFIX}-librsvg" 35 | "${MINGW_PACKAGE_PREFIX}-libultrahdr" 36 | "${MINGW_PACKAGE_PREFIX}-libxml2" 37 | "${MINGW_PACKAGE_PREFIX}-openexr" 38 | "${MINGW_PACKAGE_PREFIX}-pango") 39 | depends=("${MINGW_PACKAGE_PREFIX}-bzip2" 40 | "${MINGW_PACKAGE_PREFIX}-djvulibre" 41 | "${MINGW_PACKAGE_PREFIX}-flif" 42 | "${MINGW_PACKAGE_PREFIX}-fftw" 43 | "${MINGW_PACKAGE_PREFIX}-fontconfig" 44 | "${MINGW_PACKAGE_PREFIX}-freetype" 45 | "${MINGW_PACKAGE_PREFIX}-glib2" 46 | "${MINGW_PACKAGE_PREFIX}-gsfonts" 47 | "${MINGW_PACKAGE_PREFIX}-jasper" 48 | "${MINGW_PACKAGE_PREFIX}-jbigkit" 49 | "${MINGW_PACKAGE_PREFIX}-lcms2" 50 | "${MINGW_PACKAGE_PREFIX}-libheif" 51 | "${MINGW_PACKAGE_PREFIX}-liblqr" 52 | "${MINGW_PACKAGE_PREFIX}-libpng" 53 | "${MINGW_PACKAGE_PREFIX}-libraqm" 54 | "${MINGW_PACKAGE_PREFIX}-libraw" 55 | "${MINGW_PACKAGE_PREFIX}-libtiff" 56 | "${MINGW_PACKAGE_PREFIX}-libltdl" 57 | "${MINGW_PACKAGE_PREFIX}-libwebp" 58 | "${MINGW_PACKAGE_PREFIX}-libwinpthread" 59 | "${MINGW_PACKAGE_PREFIX}-libwmf" 60 | "${MINGW_PACKAGE_PREFIX}-libxml2" 61 | "${MINGW_PACKAGE_PREFIX}-omp" 62 | "${MINGW_PACKAGE_PREFIX}-openjpeg2" 63 | #"${MINGW_PACKAGE_PREFIX}-perl" 64 | "${MINGW_PACKAGE_PREFIX}-ttf-dejavu" 65 | "${MINGW_PACKAGE_PREFIX}-xz" 66 | "${MINGW_PACKAGE_PREFIX}-zlib" 67 | "${MINGW_PACKAGE_PREFIX}-zstd" 68 | ) 69 | optdepends=("${MINGW_PACKAGE_PREFIX}-ghostscript: for Ghostscript support" 70 | "${MINGW_PACKAGE_PREFIX}-graphviz: for GVC support" 71 | "${MINGW_PACKAGE_PREFIX}-libjxl: for JPEG XL support" 72 | "${MINGW_PACKAGE_PREFIX}-librsvg: for SVG support" 73 | "${MINGW_PACKAGE_PREFIX}-libultrahdr: for Ultra HDR support" 74 | "${MINGW_PACKAGE_PREFIX}-openexr: for OpenEXR support" 75 | #"${MINGW_PACKAGE_PREFIX}-jasper: for JPEG-2000 support" 76 | #"${MINGW_PACKAGE_PREFIX}-libpng: for PNG support" 77 | #"${MINGW_PACKAGE_PREFIX}-libtiff: for PNG support" 78 | #"${MINGW_PACKAGE_PREFIX}-libwebp: for WEBP support" 79 | ) 80 | # libtool files are required in imagemagick to relocate modules path 81 | options=('libtool') 82 | # source=(https://imagemagick.org/archive/releases/ImageMagick-${_basever}${_rc}.tar.xz{,.asc} 83 | # pathtools.c 84 | # pathtools.h 85 | # 001-7.1.1.39-relocate.patch) 86 | # sha256sums=('2396cd3c4237cfbc09a89d31d1cee157ee11fbc8ec1e540530e10175cb707160' 87 | # 'SKIP' 88 | # 'ebf471173f5ee9c4416c10a78760cea8afaf1a4a6e653977321e8547ce7bf3c0' 89 | # '1585ef1b61cf53a2ca27049c11d49e0834683dfda798f03547761375df482a90' 90 | # 'f3454a7938069f91fbe220dc03e444e7454a4a8a286b2408bbfe6f15a9c8a6dc') 91 | #Lexie Parsimoniae (ImageMagick code signing key) 92 | validpgpkeys=('D8272EF51DA223E4D05B466989AB63D48277377A') 93 | 94 | source_dir="$GITHUB_WORKSPACE" 95 | 96 | # Helper macros to help make tasks easier # 97 | # apply_patch_with_msg() { 98 | # for _patch in "$@" 99 | # do 100 | # msg2 "Applying $_patch" 101 | # patch -Nbp1 -i "${srcdir}/${_patch}" 102 | # done 103 | # } 104 | # =========================================== # 105 | 106 | prepare() { 107 | #test ! -d "${startdir}/../mingw-w64-pathtools" || { 108 | # cmp "${startdir}/../mingw-w64-pathtools/pathtools.c" "${srcdir}/pathtools.c" && 109 | # cmp "${startdir}/../mingw-w64-pathtools/pathtools.h" "${srcdir}/pathtools.h" 110 | #} || exit 1 111 | 112 | #cd ImageMagick-${_basever}${_rc} 113 | #cp -fHv "${srcdir}"/pathtools.[ch] MagickCore/ 114 | 115 | #apply_patch_with_msg \ 116 | # 001-7.1.1.39-relocate.patch 117 | 118 | cd "${source_dir}" 119 | 120 | autoreconf -fi 121 | } 122 | 123 | build() { 124 | export lt_cv_deplibs_check_method='pass_all' 125 | 126 | mkdir -p "${source_dir}"/build-${MSYSTEM} && cd "${source_dir}"/build-${MSYSTEM} 127 | 128 | # --with-lcms2, --with-opencl, --without-ltdl 129 | ../configure \ 130 | --prefix=${MINGW_PREFIX} \ 131 | --build=${MINGW_CHOST} \ 132 | --host=${MINGW_CHOST} \ 133 | --disable-deprecated \ 134 | --enable-legacy-support \ 135 | --enable-hdri \ 136 | --with-djvu \ 137 | --with-fftw \ 138 | --with-gslib \ 139 | --with-gvc \ 140 | --with-flif \ 141 | --with-jxl \ 142 | --with-lcms \ 143 | --with-lqr \ 144 | --with-modules \ 145 | --with-openexr \ 146 | --with-openjp2 \ 147 | --with-rsvg \ 148 | --with-uhdr \ 149 | --with-webp \ 150 | --with-wmf \ 151 | --with-xml \ 152 | --without-autotrace \ 153 | --without-dps \ 154 | --without-fpx \ 155 | --with-jbig \ 156 | --without-perl \ 157 | --without-x \ 158 | --with-raqm \ 159 | --with-magick-plus-plus \ 160 | --with-windows-font-dir=c:/Windows/fonts \ 161 | --with-gs-font-dir=${MINGW_PREFIX}/share/fonts/gsfonts \ 162 | --with-dejavu-font-dir=${MINGW_PREFIX}/share/fonts/TTF \ 163 | CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" 164 | 165 | if check_option "debug" "y"; then 166 | MAKE_VERBOSE="V=1" 167 | fi 168 | make ${MAKE_VERBOSE} 169 | 170 | #--enable-opencl \ 171 | #--with-perl-options="INSTALLDIRS=vendor" 172 | } 173 | 174 | package_imagemagick() { 175 | cd "${source_dir}"/build-${MSYSTEM} 176 | if check_option "debug" "y"; then 177 | MAKE_VERBOSE="V=1" 178 | fi 179 | make -j1 DESTDIR="${pkgdir}" install ${MAKE_VERBOSE} 180 | 181 | #find . -name "*.xml" -exec sed -i "s/${MINGW_PREFIX}/newWord/g" '{}' \; 182 | 183 | install -Dm644 "${source_dir}"/LICENSE "${pkgdir}${MINGW_PREFIX}/share/licenses/${_realname}/LICENSE" 184 | install -Dm644 "${source_dir}"/NOTICE "${pkgdir}${MINGW_PREFIX}/share/licenses/${_realname}/NOTICE" 185 | 186 | local PREFIX_WIN=$(cygpath -wm ${MINGW_PREFIX}) 187 | # fix hard-coded pathes in XML files. 188 | find "${pkgdir}"${MINGW_PREFIX}/lib -name "*.xml" -exec sed -e "s|${PREFIX_WIN}|${MINGW_PREFIX}|g" -i {} \; 189 | # fix libtool .la files 190 | find "${pkgdir}"${MINGW_PREFIX}/lib -name "*.la" -exec sed -e "s|${PREFIX_WIN}|${MINGW_PREFIX}|g" -i {} \; 191 | # fix hard-coded pathes in .pc files 192 | for _f in "${pkgdir}${MINGW_PREFIX}"\/lib\/pkgconfig\/*.pc; do 193 | sed -e "s|${PREFIX_WIN}|${MINGW_PREFIX}|g" -i ${_f} 194 | done 195 | 196 | # Split docs 197 | mkdir -p dest${MINGW_PREFIX}/share 198 | mv "${pkgdir}${MINGW_PREFIX}"/share/doc dest${MINGW_PREFIX}/share/doc 199 | } 200 | 201 | package_imagemagick-docs() { 202 | pkgdesc+=" (documentation)" 203 | depends=() 204 | optdepends=() 205 | 206 | cd "${source_dir}"/build-${MSYSTEM} 207 | mv dest/* "${pkgdir}" 208 | } 209 | 210 | # template start; name=mingw-w64-splitpkg-wrappers; version=1.0; 211 | # vim: set ft=bash : 212 | 213 | # generate wrappers 214 | for _name in "${pkgname[@]}"; do 215 | _short="package_${_name#${MINGW_PACKAGE_PREFIX}-}" 216 | _func="$(declare -f "${_short}")" 217 | eval "${_func/#${_short}/package_${_name}}" 218 | done 219 | # template end; -------------------------------------------------------------------------------- /Build/OpenCL/CL/cl_d3d10.h: -------------------------------------------------------------------------------- 1 | /********************************************************************************** 2 | * Copyright (c) 2008-2013 The Khronos Group Inc. 3 | * 4 | * Permission is hereby granted, free of charge, to any person obtaining a 5 | * copy of this software and/or associated documentation files (the 6 | * "Materials"), to deal in the Materials without restriction, including 7 | * without limitation the rights to use, copy, modify, merge, publish, 8 | * distribute, sublicense, and/or sell copies of the Materials, and to 9 | * permit persons to whom the Materials are furnished to do so, subject to 10 | * the following conditions: 11 | * 12 | * The above copyright notice and this permission notice shall be included 13 | * in all copies or substantial portions of the Materials. 14 | * 15 | * THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 16 | * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 17 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 18 | * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 19 | * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 20 | * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 21 | * MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. 22 | **********************************************************************************/ 23 | 24 | /* $Revision: 11708 $ on $Date: 2010-06-13 23:36:24 -0700 (Sun, 13 Jun 2010) $ */ 25 | 26 | #ifndef __OPENCL_CL_D3D10_H 27 | #define __OPENCL_CL_D3D10_H 28 | 29 | #include 30 | #include 31 | #include 32 | 33 | #ifdef __cplusplus 34 | extern "C" { 35 | #endif 36 | 37 | /****************************************************************************** 38 | * cl_khr_d3d10_sharing */ 39 | #define cl_khr_d3d10_sharing 1 40 | 41 | typedef cl_uint cl_d3d10_device_source_khr; 42 | typedef cl_uint cl_d3d10_device_set_khr; 43 | 44 | /******************************************************************************/ 45 | 46 | /* Error Codes */ 47 | #define CL_INVALID_D3D10_DEVICE_KHR -1002 48 | #define CL_INVALID_D3D10_RESOURCE_KHR -1003 49 | #define CL_D3D10_RESOURCE_ALREADY_ACQUIRED_KHR -1004 50 | #define CL_D3D10_RESOURCE_NOT_ACQUIRED_KHR -1005 51 | 52 | /* cl_d3d10_device_source_nv */ 53 | #define CL_D3D10_DEVICE_KHR 0x4010 54 | #define CL_D3D10_DXGI_ADAPTER_KHR 0x4011 55 | 56 | /* cl_d3d10_device_set_nv */ 57 | #define CL_PREFERRED_DEVICES_FOR_D3D10_KHR 0x4012 58 | #define CL_ALL_DEVICES_FOR_D3D10_KHR 0x4013 59 | 60 | /* cl_context_info */ 61 | #define CL_CONTEXT_D3D10_DEVICE_KHR 0x4014 62 | #define CL_CONTEXT_D3D10_PREFER_SHARED_RESOURCES_KHR 0x402C 63 | 64 | /* cl_mem_info */ 65 | #define CL_MEM_D3D10_RESOURCE_KHR 0x4015 66 | 67 | /* cl_image_info */ 68 | #define CL_IMAGE_D3D10_SUBRESOURCE_KHR 0x4016 69 | 70 | /* cl_command_type */ 71 | #define CL_COMMAND_ACQUIRE_D3D10_OBJECTS_KHR 0x4017 72 | #define CL_COMMAND_RELEASE_D3D10_OBJECTS_KHR 0x4018 73 | 74 | /******************************************************************************/ 75 | 76 | typedef CL_API_ENTRY cl_int (CL_API_CALL *clGetDeviceIDsFromD3D10KHR_fn)( 77 | cl_platform_id platform, 78 | cl_d3d10_device_source_khr d3d_device_source, 79 | void * d3d_object, 80 | cl_d3d10_device_set_khr d3d_device_set, 81 | cl_uint num_entries, 82 | cl_device_id * devices, 83 | cl_uint * num_devices) CL_API_SUFFIX__VERSION_1_0; 84 | 85 | typedef CL_API_ENTRY cl_mem (CL_API_CALL *clCreateFromD3D10BufferKHR_fn)( 86 | cl_context context, 87 | cl_mem_flags flags, 88 | ID3D10Buffer * resource, 89 | cl_int * errcode_ret) CL_API_SUFFIX__VERSION_1_0; 90 | 91 | typedef CL_API_ENTRY cl_mem (CL_API_CALL *clCreateFromD3D10Texture2DKHR_fn)( 92 | cl_context context, 93 | cl_mem_flags flags, 94 | ID3D10Texture2D * resource, 95 | UINT subresource, 96 | cl_int * errcode_ret) CL_API_SUFFIX__VERSION_1_0; 97 | 98 | typedef CL_API_ENTRY cl_mem (CL_API_CALL *clCreateFromD3D10Texture3DKHR_fn)( 99 | cl_context context, 100 | cl_mem_flags flags, 101 | ID3D10Texture3D * resource, 102 | UINT subresource, 103 | cl_int * errcode_ret) CL_API_SUFFIX__VERSION_1_0; 104 | 105 | typedef CL_API_ENTRY cl_int (CL_API_CALL *clEnqueueAcquireD3D10ObjectsKHR_fn)( 106 | cl_command_queue command_queue, 107 | cl_uint num_objects, 108 | const cl_mem * mem_objects, 109 | cl_uint num_events_in_wait_list, 110 | const cl_event * event_wait_list, 111 | cl_event * event) CL_API_SUFFIX__VERSION_1_0; 112 | 113 | typedef CL_API_ENTRY cl_int (CL_API_CALL *clEnqueueReleaseD3D10ObjectsKHR_fn)( 114 | cl_command_queue command_queue, 115 | cl_uint num_objects, 116 | const cl_mem * mem_objects, 117 | cl_uint num_events_in_wait_list, 118 | const cl_event * event_wait_list, 119 | cl_event * event) CL_API_SUFFIX__VERSION_1_0; 120 | 121 | #ifdef __cplusplus 122 | } 123 | #endif 124 | 125 | #endif /* __OPENCL_CL_D3D10_H */ 126 | 127 | -------------------------------------------------------------------------------- /Build/OpenCL/CL/cl_d3d11.h: -------------------------------------------------------------------------------- 1 | /********************************************************************************** 2 | * Copyright (c) 2008-2013 The Khronos Group Inc. 3 | * 4 | * Permission is hereby granted, free of charge, to any person obtaining a 5 | * copy of this software and/or associated documentation files (the 6 | * "Materials"), to deal in the Materials without restriction, including 7 | * without limitation the rights to use, copy, modify, merge, publish, 8 | * distribute, sublicense, and/or sell copies of the Materials, and to 9 | * permit persons to whom the Materials are furnished to do so, subject to 10 | * the following conditions: 11 | * 12 | * The above copyright notice and this permission notice shall be included 13 | * in all copies or substantial portions of the Materials. 14 | * 15 | * THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 16 | * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 17 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 18 | * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 19 | * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 20 | * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 21 | * MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. 22 | **********************************************************************************/ 23 | 24 | /* $Revision: 11708 $ on $Date: 2010-06-13 23:36:24 -0700 (Sun, 13 Jun 2010) $ */ 25 | 26 | #ifndef __OPENCL_CL_D3D11_H 27 | #define __OPENCL_CL_D3D11_H 28 | 29 | #include 30 | #include 31 | #include 32 | 33 | #ifdef __cplusplus 34 | extern "C" { 35 | #endif 36 | 37 | /****************************************************************************** 38 | * cl_khr_d3d11_sharing */ 39 | #define cl_khr_d3d11_sharing 1 40 | 41 | typedef cl_uint cl_d3d11_device_source_khr; 42 | typedef cl_uint cl_d3d11_device_set_khr; 43 | 44 | /******************************************************************************/ 45 | 46 | /* Error Codes */ 47 | #define CL_INVALID_D3D11_DEVICE_KHR -1006 48 | #define CL_INVALID_D3D11_RESOURCE_KHR -1007 49 | #define CL_D3D11_RESOURCE_ALREADY_ACQUIRED_KHR -1008 50 | #define CL_D3D11_RESOURCE_NOT_ACQUIRED_KHR -1009 51 | 52 | /* cl_d3d11_device_source */ 53 | #define CL_D3D11_DEVICE_KHR 0x4019 54 | #define CL_D3D11_DXGI_ADAPTER_KHR 0x401A 55 | 56 | /* cl_d3d11_device_set */ 57 | #define CL_PREFERRED_DEVICES_FOR_D3D11_KHR 0x401B 58 | #define CL_ALL_DEVICES_FOR_D3D11_KHR 0x401C 59 | 60 | /* cl_context_info */ 61 | #define CL_CONTEXT_D3D11_DEVICE_KHR 0x401D 62 | #define CL_CONTEXT_D3D11_PREFER_SHARED_RESOURCES_KHR 0x402D 63 | 64 | /* cl_mem_info */ 65 | #define CL_MEM_D3D11_RESOURCE_KHR 0x401E 66 | 67 | /* cl_image_info */ 68 | #define CL_IMAGE_D3D11_SUBRESOURCE_KHR 0x401F 69 | 70 | /* cl_command_type */ 71 | #define CL_COMMAND_ACQUIRE_D3D11_OBJECTS_KHR 0x4020 72 | #define CL_COMMAND_RELEASE_D3D11_OBJECTS_KHR 0x4021 73 | 74 | /******************************************************************************/ 75 | 76 | typedef CL_API_ENTRY cl_int (CL_API_CALL *clGetDeviceIDsFromD3D11KHR_fn)( 77 | cl_platform_id platform, 78 | cl_d3d11_device_source_khr d3d_device_source, 79 | void * d3d_object, 80 | cl_d3d11_device_set_khr d3d_device_set, 81 | cl_uint num_entries, 82 | cl_device_id * devices, 83 | cl_uint * num_devices) CL_API_SUFFIX__VERSION_1_2; 84 | 85 | typedef CL_API_ENTRY cl_mem (CL_API_CALL *clCreateFromD3D11BufferKHR_fn)( 86 | cl_context context, 87 | cl_mem_flags flags, 88 | ID3D11Buffer * resource, 89 | cl_int * errcode_ret) CL_API_SUFFIX__VERSION_1_2; 90 | 91 | typedef CL_API_ENTRY cl_mem (CL_API_CALL *clCreateFromD3D11Texture2DKHR_fn)( 92 | cl_context context, 93 | cl_mem_flags flags, 94 | ID3D11Texture2D * resource, 95 | UINT subresource, 96 | cl_int * errcode_ret) CL_API_SUFFIX__VERSION_1_2; 97 | 98 | typedef CL_API_ENTRY cl_mem (CL_API_CALL *clCreateFromD3D11Texture3DKHR_fn)( 99 | cl_context context, 100 | cl_mem_flags flags, 101 | ID3D11Texture3D * resource, 102 | UINT subresource, 103 | cl_int * errcode_ret) CL_API_SUFFIX__VERSION_1_2; 104 | 105 | typedef CL_API_ENTRY cl_int (CL_API_CALL *clEnqueueAcquireD3D11ObjectsKHR_fn)( 106 | cl_command_queue command_queue, 107 | cl_uint num_objects, 108 | const cl_mem * mem_objects, 109 | cl_uint num_events_in_wait_list, 110 | const cl_event * event_wait_list, 111 | cl_event * event) CL_API_SUFFIX__VERSION_1_2; 112 | 113 | typedef CL_API_ENTRY cl_int (CL_API_CALL *clEnqueueReleaseD3D11ObjectsKHR_fn)( 114 | cl_command_queue command_queue, 115 | cl_uint num_objects, 116 | const cl_mem * mem_objects, 117 | cl_uint num_events_in_wait_list, 118 | const cl_event * event_wait_list, 119 | cl_event * event) CL_API_SUFFIX__VERSION_1_2; 120 | 121 | #ifdef __cplusplus 122 | } 123 | #endif 124 | 125 | #endif /* __OPENCL_CL_D3D11_H */ 126 | 127 | -------------------------------------------------------------------------------- /Build/OpenCL/CL/cl_dx9_media_sharing.h: -------------------------------------------------------------------------------- 1 | /********************************************************************************** 2 | * Copyright (c) 2008-2013 The Khronos Group Inc. 3 | * 4 | * Permission is hereby granted, free of charge, to any person obtaining a 5 | * copy of this software and/or associated documentation files (the 6 | * "Materials"), to deal in the Materials without restriction, including 7 | * without limitation the rights to use, copy, modify, merge, publish, 8 | * distribute, sublicense, and/or sell copies of the Materials, and to 9 | * permit persons to whom the Materials are furnished to do so, subject to 10 | * the following conditions: 11 | * 12 | * The above copyright notice and this permission notice shall be included 13 | * in all copies or substantial portions of the Materials. 14 | * 15 | * THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 16 | * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 17 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 18 | * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 19 | * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 20 | * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 21 | * MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. 22 | **********************************************************************************/ 23 | 24 | /* $Revision: 11708 $ on $Date: 2010-06-13 23:36:24 -0700 (Sun, 13 Jun 2010) $ */ 25 | 26 | #ifndef __OPENCL_CL_DX9_MEDIA_SHARING_H 27 | #define __OPENCL_CL_DX9_MEDIA_SHARING_H 28 | 29 | #include 30 | #include 31 | 32 | #ifdef __cplusplus 33 | extern "C" { 34 | #endif 35 | 36 | /****************************************************************************** 37 | /* cl_khr_dx9_media_sharing */ 38 | #define cl_khr_dx9_media_sharing 1 39 | 40 | typedef cl_uint cl_dx9_media_adapter_type_khr; 41 | typedef cl_uint cl_dx9_media_adapter_set_khr; 42 | 43 | #if defined(_WIN32) 44 | #include 45 | typedef struct _cl_dx9_surface_info_khr 46 | { 47 | IDirect3DSurface9 *resource; 48 | HANDLE shared_handle; 49 | } cl_dx9_surface_info_khr; 50 | #endif 51 | 52 | 53 | /******************************************************************************/ 54 | 55 | /* Error Codes */ 56 | #define CL_INVALID_DX9_MEDIA_ADAPTER_KHR -1010 57 | #define CL_INVALID_DX9_MEDIA_SURFACE_KHR -1011 58 | #define CL_DX9_MEDIA_SURFACE_ALREADY_ACQUIRED_KHR -1012 59 | #define CL_DX9_MEDIA_SURFACE_NOT_ACQUIRED_KHR -1013 60 | 61 | /* cl_media_adapter_type_khr */ 62 | #define CL_ADAPTER_D3D9_KHR 0x2020 63 | #define CL_ADAPTER_D3D9EX_KHR 0x2021 64 | #define CL_ADAPTER_DXVA_KHR 0x2022 65 | 66 | /* cl_media_adapter_set_khr */ 67 | #define CL_PREFERRED_DEVICES_FOR_DX9_MEDIA_ADAPTER_KHR 0x2023 68 | #define CL_ALL_DEVICES_FOR_DX9_MEDIA_ADAPTER_KHR 0x2024 69 | 70 | /* cl_context_info */ 71 | #define CL_CONTEXT_ADAPTER_D3D9_KHR 0x2025 72 | #define CL_CONTEXT_ADAPTER_D3D9EX_KHR 0x2026 73 | #define CL_CONTEXT_ADAPTER_DXVA_KHR 0x2027 74 | 75 | /* cl_mem_info */ 76 | #define CL_MEM_DX9_MEDIA_ADAPTER_TYPE_KHR 0x2028 77 | #define CL_MEM_DX9_MEDIA_SURFACE_INFO_KHR 0x2029 78 | 79 | /* cl_image_info */ 80 | #define CL_IMAGE_DX9_MEDIA_PLANE_KHR 0x202A 81 | 82 | /* cl_command_type */ 83 | #define CL_COMMAND_ACQUIRE_DX9_MEDIA_SURFACES_KHR 0x202B 84 | #define CL_COMMAND_RELEASE_DX9_MEDIA_SURFACES_KHR 0x202C 85 | 86 | /******************************************************************************/ 87 | 88 | typedef CL_API_ENTRY cl_int (CL_API_CALL *clGetDeviceIDsFromDX9MediaAdapterKHR_fn)( 89 | cl_platform_id platform, 90 | cl_uint num_media_adapters, 91 | cl_dx9_media_adapter_type_khr * media_adapter_type, 92 | void * media_adapters, 93 | cl_dx9_media_adapter_set_khr media_adapter_set, 94 | cl_uint num_entries, 95 | cl_device_id * devices, 96 | cl_uint * num_devices) CL_API_SUFFIX__VERSION_1_2; 97 | 98 | typedef CL_API_ENTRY cl_mem (CL_API_CALL *clCreateFromDX9MediaSurfaceKHR_fn)( 99 | cl_context context, 100 | cl_mem_flags flags, 101 | cl_dx9_media_adapter_type_khr adapter_type, 102 | void * surface_info, 103 | cl_uint plane, 104 | cl_int * errcode_ret) CL_API_SUFFIX__VERSION_1_2; 105 | 106 | typedef CL_API_ENTRY cl_int (CL_API_CALL *clEnqueueAcquireDX9MediaSurfacesKHR_fn)( 107 | cl_command_queue command_queue, 108 | cl_uint num_objects, 109 | const cl_mem * mem_objects, 110 | cl_uint num_events_in_wait_list, 111 | const cl_event * event_wait_list, 112 | cl_event * event) CL_API_SUFFIX__VERSION_1_2; 113 | 114 | typedef CL_API_ENTRY cl_int (CL_API_CALL *clEnqueueReleaseDX9MediaSurfacesKHR_fn)( 115 | cl_command_queue command_queue, 116 | cl_uint num_objects, 117 | const cl_mem * mem_objects, 118 | cl_uint num_events_in_wait_list, 119 | const cl_event * event_wait_list, 120 | cl_event * event) CL_API_SUFFIX__VERSION_1_2; 121 | 122 | #ifdef __cplusplus 123 | } 124 | #endif 125 | 126 | #endif /* __OPENCL_CL_DX9_MEDIA_SHARING_H */ 127 | 128 | -------------------------------------------------------------------------------- /Build/OpenCL/CL/cl_ext.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2008-2013 The Khronos Group Inc. 3 | * 4 | * Permission is hereby granted, free of charge, to any person obtaining a 5 | * copy of this software and/or associated documentation files (the 6 | * "Materials"), to deal in the Materials without restriction, including 7 | * without limitation the rights to use, copy, modify, merge, publish, 8 | * distribute, sublicense, and/or sell copies of the Materials, and to 9 | * permit persons to whom the Materials are furnished to do so, subject to 10 | * the following conditions: 11 | * 12 | * The above copyright notice and this permission notice shall be included 13 | * in all copies or substantial portions of the Materials. 14 | * 15 | * THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 16 | * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 17 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 18 | * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 19 | * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 20 | * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 21 | * MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. 22 | ******************************************************************************/ 23 | 24 | /* $Revision: 14835 $ on $Date: 2011-05-26 11:32:00 -0700 (Thu, 26 May 2011) $ */ 25 | 26 | /* cl_ext.h contains OpenCL extensions which don't have external */ 27 | /* (OpenGL, D3D) dependencies. */ 28 | 29 | #ifndef __CL_EXT_H 30 | #define __CL_EXT_H 31 | 32 | #ifdef __cplusplus 33 | extern "C" { 34 | #endif 35 | 36 | #ifdef __APPLE__ 37 | #include 38 | #include 39 | #else 40 | #include 41 | #endif 42 | 43 | /* cl_khr_fp16 extension - no extension #define since it has no functions */ 44 | #define CL_DEVICE_HALF_FP_CONFIG 0x1033 45 | 46 | /* Memory object destruction 47 | * 48 | * Apple extension for use to manage externally allocated buffers used with cl_mem objects with CL_MEM_USE_HOST_PTR 49 | * 50 | * Registers a user callback function that will be called when the memory object is deleted and its resources 51 | * freed. Each call to clSetMemObjectCallbackFn registers the specified user callback function on a callback 52 | * stack associated with memobj. The registered user callback functions are called in the reverse order in 53 | * which they were registered. The user callback functions are called and then the memory object is deleted 54 | * and its resources freed. This provides a mechanism for the application (and libraries) using memobj to be 55 | * notified when the memory referenced by host_ptr, specified when the memory object is created and used as 56 | * the storage bits for the memory object, can be reused or freed. 57 | * 58 | * The application may not call CL api's with the cl_mem object passed to the pfn_notify. 59 | * 60 | * Please check for the "cl_APPLE_SetMemObjectDestructor" extension using clGetDeviceInfo(CL_DEVICE_EXTENSIONS) 61 | * before using. 62 | */ 63 | #define cl_APPLE_SetMemObjectDestructor 1 64 | cl_int CL_API_ENTRY clSetMemObjectDestructorAPPLE( cl_mem /* memobj */, 65 | void (* /*pfn_notify*/)( cl_mem /* memobj */, void* /*user_data*/), 66 | void * /*user_data */ ) CL_EXT_SUFFIX__VERSION_1_0; 67 | 68 | 69 | /* Context Logging Functions 70 | * 71 | * The next three convenience functions are intended to be used as the pfn_notify parameter to clCreateContext(). 72 | * Please check for the "cl_APPLE_ContextLoggingFunctions" extension using clGetDeviceInfo(CL_DEVICE_EXTENSIONS) 73 | * before using. 74 | * 75 | * clLogMessagesToSystemLog fowards on all log messages to the Apple System Logger 76 | */ 77 | #define cl_APPLE_ContextLoggingFunctions 1 78 | extern void CL_API_ENTRY clLogMessagesToSystemLogAPPLE( const char * /* errstr */, 79 | const void * /* private_info */, 80 | size_t /* cb */, 81 | void * /* user_data */ ) CL_EXT_SUFFIX__VERSION_1_0; 82 | 83 | /* clLogMessagesToStdout sends all log messages to the file descriptor stdout */ 84 | extern void CL_API_ENTRY clLogMessagesToStdoutAPPLE( const char * /* errstr */, 85 | const void * /* private_info */, 86 | size_t /* cb */, 87 | void * /* user_data */ ) CL_EXT_SUFFIX__VERSION_1_0; 88 | 89 | /* clLogMessagesToStderr sends all log messages to the file descriptor stderr */ 90 | extern void CL_API_ENTRY clLogMessagesToStderrAPPLE( const char * /* errstr */, 91 | const void * /* private_info */, 92 | size_t /* cb */, 93 | void * /* user_data */ ) CL_EXT_SUFFIX__VERSION_1_0; 94 | 95 | 96 | /************************ 97 | * cl_khr_icd extension * 98 | ************************/ 99 | #define cl_khr_icd 1 100 | 101 | /* cl_platform_info */ 102 | #define CL_PLATFORM_ICD_SUFFIX_KHR 0x0920 103 | 104 | /* Additional Error Codes */ 105 | #define CL_PLATFORM_NOT_FOUND_KHR -1001 106 | 107 | extern CL_API_ENTRY cl_int CL_API_CALL 108 | clIcdGetPlatformIDsKHR(cl_uint /* num_entries */, 109 | cl_platform_id * /* platforms */, 110 | cl_uint * /* num_platforms */); 111 | 112 | typedef CL_API_ENTRY cl_int (CL_API_CALL *clIcdGetPlatformIDsKHR_fn)( 113 | cl_uint /* num_entries */, 114 | cl_platform_id * /* platforms */, 115 | cl_uint * /* num_platforms */); 116 | 117 | 118 | /* Extension: cl_khr_image2D_buffer 119 | * 120 | * This extension allows a 2D image to be created from a cl_mem buffer without a copy. 121 | * The type associated with a 2D image created from a buffer in an OpenCL program is image2d_t. 122 | * Both the sampler and sampler-less read_image built-in functions are supported for 2D images 123 | * and 2D images created from a buffer. Similarly, the write_image built-ins are also supported 124 | * for 2D images created from a buffer. 125 | * 126 | * When the 2D image from buffer is created, the client must specify the width, 127 | * height, image format (i.e. channel order and channel data type) and optionally the row pitch 128 | * 129 | * The pitch specified must be a multiple of CL_DEVICE_IMAGE_PITCH_ALIGNMENT pixels. 130 | * The base address of the buffer must be aligned to CL_DEVICE_IMAGE_BASE_ADDRESS_ALIGNMENT pixels. 131 | */ 132 | 133 | /************************************* 134 | * cl_khr_initalize_memory extension * 135 | *************************************/ 136 | 137 | #define CL_CONTEXT_MEMORY_INITIALIZE_KHR 0x2030 138 | 139 | 140 | /************************************** 141 | * cl_khr_terminate_context extension * 142 | **************************************/ 143 | 144 | #define CL_DEVICE_TERMINATE_CAPABILITY_KHR 0x2031 145 | #define CL_CONTEXT_TERMINATE_KHR 0x2032 146 | 147 | #define cl_khr_terminate_context 1 148 | extern CL_API_ENTRY cl_int CL_API_CALL clTerminateContextKHR(cl_context /* context */) CL_EXT_SUFFIX__VERSION_1_2; 149 | 150 | typedef CL_API_ENTRY cl_int (CL_API_CALL *clTerminateContextKHR_fn)(cl_context /* context */) CL_EXT_SUFFIX__VERSION_1_2; 151 | 152 | /* 153 | * Extension: cl_khr_spir 154 | * 155 | * This extension adds support to create an OpenCL program object from a 156 | * Standard Portable Intermediate Representation (SPIR) instance 157 | */ 158 | 159 | #define CL_DEVICE_SPIR_VERSIONS 0x40E0 160 | #define CL_PROGRAM_BINARY_TYPE_INTERMEDIATE 0x40E1 161 | 162 | 163 | /****************************************** 164 | * cl_nv_device_attribute_query extension * 165 | ******************************************/ 166 | /* cl_nv_device_attribute_query extension - no extension #define since it has no functions */ 167 | #define CL_DEVICE_COMPUTE_CAPABILITY_MAJOR_NV 0x4000 168 | #define CL_DEVICE_COMPUTE_CAPABILITY_MINOR_NV 0x4001 169 | #define CL_DEVICE_REGISTERS_PER_BLOCK_NV 0x4002 170 | #define CL_DEVICE_WARP_SIZE_NV 0x4003 171 | #define CL_DEVICE_GPU_OVERLAP_NV 0x4004 172 | #define CL_DEVICE_KERNEL_EXEC_TIMEOUT_NV 0x4005 173 | #define CL_DEVICE_INTEGRATED_MEMORY_NV 0x4006 174 | 175 | /********************************* 176 | * cl_amd_device_memory_flags * 177 | *********************************/ 178 | #define cl_amd_device_memory_flags 1 179 | #define CL_MEM_USE_PERSISTENT_MEM_AMD (1 << 6) // Alloc from GPU's CPU visible heap 180 | 181 | /* cl_device_info */ 182 | #define CL_DEVICE_MAX_ATOMIC_COUNTERS_EXT 0x4032 183 | 184 | /********************************* 185 | * cl_amd_device_attribute_query * 186 | *********************************/ 187 | #define CL_DEVICE_PROFILING_TIMER_OFFSET_AMD 0x4036 188 | #define CL_DEVICE_TOPOLOGY_AMD 0x4037 189 | #define CL_DEVICE_BOARD_NAME_AMD 0x4038 190 | #define CL_DEVICE_GLOBAL_FREE_MEMORY_AMD 0x4039 191 | #define CL_DEVICE_SIMD_PER_COMPUTE_UNIT_AMD 0x4040 192 | #define CL_DEVICE_SIMD_WIDTH_AMD 0x4041 193 | #define CL_DEVICE_SIMD_INSTRUCTION_WIDTH_AMD 0x4042 194 | #define CL_DEVICE_WAVEFRONT_WIDTH_AMD 0x4043 195 | #define CL_DEVICE_GLOBAL_MEM_CHANNELS_AMD 0x4044 196 | #define CL_DEVICE_GLOBAL_MEM_CHANNEL_BANKS_AMD 0x4045 197 | #define CL_DEVICE_GLOBAL_MEM_CHANNEL_BANK_WIDTH_AMD 0x4046 198 | #define CL_DEVICE_LOCAL_MEM_SIZE_PER_COMPUTE_UNIT_AMD 0x4047 199 | #define CL_DEVICE_LOCAL_MEM_BANKS_AMD 0x4048 200 | #define CL_DEVICE_THREAD_TRACE_SUPPORTED_AMD 0x4049 201 | #define CL_DEVICE_GFXIP_MAJOR_AMD 0x404A 202 | #define CL_DEVICE_GFXIP_MINOR_AMD 0x404B 203 | #define CL_DEVICE_AVAILABLE_ASYNC_QUEUES_AMD 0x404C 204 | 205 | typedef union 206 | { 207 | struct { cl_uint type; cl_uint data[5]; } raw; 208 | struct { cl_uint type; cl_char unused[17]; cl_char bus; cl_char device; cl_char function; } pcie; 209 | } cl_device_topology_amd; 210 | 211 | #define CL_DEVICE_TOPOLOGY_TYPE_PCIE_AMD 1 212 | 213 | /************* 214 | * cl_amd_hsa * 215 | **************/ 216 | #define CL_HSA_ENABLED_AMD (1ull << 62) 217 | #define CL_HSA_DISABLED_AMD (1ull << 63) 218 | 219 | 220 | /************************** 221 | * cl_amd_offline_devices * 222 | **************************/ 223 | #define CL_CONTEXT_OFFLINE_DEVICES_AMD 0x403F 224 | 225 | /********************************* 226 | * cl_arm_printf extension 227 | *********************************/ 228 | #define CL_PRINTF_CALLBACK_ARM 0x40B0 229 | #define CL_PRINTF_BUFFERSIZE_ARM 0x40B1 230 | 231 | #ifdef CL_VERSION_1_1 232 | /*********************************** 233 | * cl_ext_device_fission extension * 234 | ***********************************/ 235 | #define cl_ext_device_fission 1 236 | 237 | extern CL_API_ENTRY cl_int CL_API_CALL 238 | clReleaseDeviceEXT( cl_device_id /*device*/ ) CL_EXT_SUFFIX__VERSION_1_1; 239 | 240 | typedef CL_API_ENTRY cl_int 241 | (CL_API_CALL *clReleaseDeviceEXT_fn)( cl_device_id /*device*/ ) CL_EXT_SUFFIX__VERSION_1_1; 242 | 243 | extern CL_API_ENTRY cl_int CL_API_CALL 244 | clRetainDeviceEXT( cl_device_id /*device*/ ) CL_EXT_SUFFIX__VERSION_1_1; 245 | 246 | typedef CL_API_ENTRY cl_int 247 | (CL_API_CALL *clRetainDeviceEXT_fn)( cl_device_id /*device*/ ) CL_EXT_SUFFIX__VERSION_1_1; 248 | 249 | typedef cl_ulong cl_device_partition_property_ext; 250 | extern CL_API_ENTRY cl_int CL_API_CALL 251 | clCreateSubDevicesEXT( cl_device_id /*in_device*/, 252 | const cl_device_partition_property_ext * /* properties */, 253 | cl_uint /*num_entries*/, 254 | cl_device_id * /*out_devices*/, 255 | cl_uint * /*num_devices*/ ) CL_EXT_SUFFIX__VERSION_1_1; 256 | 257 | typedef CL_API_ENTRY cl_int 258 | ( CL_API_CALL * clCreateSubDevicesEXT_fn)( cl_device_id /*in_device*/, 259 | const cl_device_partition_property_ext * /* properties */, 260 | cl_uint /*num_entries*/, 261 | cl_device_id * /*out_devices*/, 262 | cl_uint * /*num_devices*/ ) CL_EXT_SUFFIX__VERSION_1_1; 263 | 264 | /* cl_device_partition_property_ext */ 265 | #define CL_DEVICE_PARTITION_EQUALLY_EXT 0x4050 266 | #define CL_DEVICE_PARTITION_BY_COUNTS_EXT 0x4051 267 | #define CL_DEVICE_PARTITION_BY_NAMES_EXT 0x4052 268 | #define CL_DEVICE_PARTITION_BY_AFFINITY_DOMAIN_EXT 0x4053 269 | 270 | /* clDeviceGetInfo selectors */ 271 | #define CL_DEVICE_PARENT_DEVICE_EXT 0x4054 272 | #define CL_DEVICE_PARTITION_TYPES_EXT 0x4055 273 | #define CL_DEVICE_AFFINITY_DOMAINS_EXT 0x4056 274 | #define CL_DEVICE_REFERENCE_COUNT_EXT 0x4057 275 | #define CL_DEVICE_PARTITION_STYLE_EXT 0x4058 276 | 277 | /* clGetImageInfo enum */ 278 | #define CL_IMAGE_BYTE_PITCH_AMD 0x4059 279 | 280 | /* error codes */ 281 | #define CL_DEVICE_PARTITION_FAILED_EXT -1057 282 | #define CL_INVALID_PARTITION_COUNT_EXT -1058 283 | #define CL_INVALID_PARTITION_NAME_EXT -1059 284 | 285 | /* CL_AFFINITY_DOMAINs */ 286 | #define CL_AFFINITY_DOMAIN_L1_CACHE_EXT 0x1 287 | #define CL_AFFINITY_DOMAIN_L2_CACHE_EXT 0x2 288 | #define CL_AFFINITY_DOMAIN_L3_CACHE_EXT 0x3 289 | #define CL_AFFINITY_DOMAIN_L4_CACHE_EXT 0x4 290 | #define CL_AFFINITY_DOMAIN_NUMA_EXT 0x10 291 | #define CL_AFFINITY_DOMAIN_NEXT_FISSIONABLE_EXT 0x100 292 | /* cl_device_partition_property_ext list terminators */ 293 | #define CL_PROPERTIES_LIST_END_EXT ((cl_device_partition_property_ext) 0) 294 | #define CL_PARTITION_BY_COUNTS_LIST_END_EXT ((cl_device_partition_property_ext) 0) 295 | #define CL_PARTITION_BY_NAMES_LIST_END_EXT ((cl_device_partition_property_ext) 0 - 1) 296 | 297 | /********************************* 298 | * cl_qcom_ext_host_ptr extension 299 | *********************************/ 300 | 301 | #define CL_MEM_EXT_HOST_PTR_QCOM (1 << 29) 302 | 303 | #define CL_DEVICE_EXT_MEM_PADDING_IN_BYTES_QCOM 0x40A0 304 | #define CL_DEVICE_PAGE_SIZE_QCOM 0x40A1 305 | #define CL_IMAGE_ROW_ALIGNMENT_QCOM 0x40A2 306 | #define CL_IMAGE_SLICE_ALIGNMENT_QCOM 0x40A3 307 | #define CL_MEM_HOST_UNCACHED_QCOM 0x40A4 308 | #define CL_MEM_HOST_WRITEBACK_QCOM 0x40A5 309 | #define CL_MEM_HOST_WRITETHROUGH_QCOM 0x40A6 310 | #define CL_MEM_HOST_WRITE_COMBINING_QCOM 0x40A7 311 | 312 | typedef cl_uint cl_image_pitch_info_qcom; 313 | 314 | extern CL_API_ENTRY cl_int CL_API_CALL 315 | clGetDeviceImageInfoQCOM(cl_device_id device, 316 | size_t image_width, 317 | size_t image_height, 318 | const cl_image_format *image_format, 319 | cl_image_pitch_info_qcom param_name, 320 | size_t param_value_size, 321 | void *param_value, 322 | size_t *param_value_size_ret); 323 | 324 | typedef struct _cl_mem_ext_host_ptr 325 | { 326 | /* Type of external memory allocation. */ 327 | /* Legal values will be defined in layered extensions. */ 328 | cl_uint allocation_type; 329 | 330 | /* Host cache policy for this external memory allocation. */ 331 | cl_uint host_cache_policy; 332 | 333 | } cl_mem_ext_host_ptr; 334 | 335 | /********************************* 336 | * cl_qcom_ion_host_ptr extension 337 | *********************************/ 338 | 339 | #define CL_MEM_ION_HOST_PTR_QCOM 0x40A8 340 | 341 | typedef struct _cl_mem_ion_host_ptr 342 | { 343 | /* Type of external memory allocation. */ 344 | /* Must be CL_MEM_ION_HOST_PTR_QCOM for ION allocations. */ 345 | cl_mem_ext_host_ptr ext_host_ptr; 346 | 347 | /* ION file descriptor */ 348 | int ion_filedesc; 349 | 350 | /* Host pointer to the ION allocated memory */ 351 | void* ion_hostptr; 352 | 353 | } cl_mem_ion_host_ptr; 354 | 355 | 356 | #endif /* CL_VERSION_1_1 */ 357 | 358 | #ifdef CL_VERSION_1_2 359 | /******************************** 360 | * cl_amd_bus_addressable_memory * 361 | ********************************/ 362 | 363 | /* cl_mem flag - bitfield */ 364 | #define CL_MEM_BUS_ADDRESSABLE_AMD (1<<30) 365 | #define CL_MEM_EXTERNAL_PHYSICAL_AMD (1<<31) 366 | 367 | #define CL_COMMAND_WAIT_SIGNAL_AMD 0x4080 368 | #define CL_COMMAND_WRITE_SIGNAL_AMD 0x4081 369 | #define CL_COMMAND_MAKE_BUFFERS_RESIDENT_AMD 0x4082 370 | 371 | typedef struct _cl_bus_address_amd 372 | { 373 | cl_ulong surface_bus_address; 374 | cl_ulong marker_bus_address; 375 | } cl_bus_address_amd; 376 | 377 | typedef CL_API_ENTRY cl_int 378 | (CL_API_CALL * clEnqueueWaitSignalAMD_fn)( cl_command_queue /*command_queue*/, 379 | cl_mem /*mem_object*/, 380 | cl_uint /*value*/, 381 | cl_uint /*num_events*/, 382 | const cl_event * /*event_wait_list*/, 383 | cl_event * /*event*/) CL_EXT_SUFFIX__VERSION_1_2; 384 | 385 | typedef CL_API_ENTRY cl_int 386 | (CL_API_CALL * clEnqueueWriteSignalAMD_fn)( cl_command_queue /*command_queue*/, 387 | cl_mem /*mem_object*/, 388 | cl_uint /*value*/, 389 | cl_ulong /*offset*/, 390 | cl_uint /*num_events*/, 391 | const cl_event * /*event_list*/, 392 | cl_event * /*event*/) CL_EXT_SUFFIX__VERSION_1_2; 393 | 394 | typedef CL_API_ENTRY cl_int 395 | (CL_API_CALL * clEnqueueMakeBuffersResidentAMD_fn)( cl_command_queue /*command_queue*/, 396 | cl_uint /*num_mem_objs*/, 397 | cl_mem * /*mem_objects*/, 398 | cl_bool /*blocking_make_resident*/, 399 | cl_bus_address_amd * /*bus_addresses*/, 400 | cl_uint /*num_events*/, 401 | const cl_event * /*event_list*/, 402 | cl_event * /*event*/) CL_EXT_SUFFIX__VERSION_1_2; 403 | #endif /* CL_VERSION_1_2 */ 404 | 405 | #ifdef CL_VERSION_2_0 406 | /********************************* 407 | * cl_khr_sub_groups extension 408 | *********************************/ 409 | #define cl_khr_sub_groups 1 410 | 411 | typedef cl_uint cl_kernel_sub_group_info; 412 | 413 | /* cl_khr_sub_group_info */ 414 | #define CL_KERNEL_MAX_SUB_GROUP_SIZE_FOR_NDRANGE_KHR 0x2033 415 | #define CL_KERNEL_SUB_GROUP_COUNT_FOR_NDRANGE_KHR 0x2034 416 | 417 | extern CL_API_ENTRY cl_int CL_API_CALL 418 | clGetKernelSubGroupInfoKHR(cl_kernel /* in_kernel */, 419 | cl_device_id /*in_device*/, 420 | cl_kernel_sub_group_info /* param_name */, 421 | size_t /*input_value_size*/, 422 | const void * /*input_value*/, 423 | size_t /*param_value_size*/, 424 | void* /*param_value*/, 425 | size_t* /*param_value_size_ret*/ ) CL_EXT_SUFFIX__VERSION_2_0; 426 | 427 | typedef CL_API_ENTRY cl_int 428 | ( CL_API_CALL * clGetKernelSubGroupInfoKHR_fn)(cl_kernel /* in_kernel */, 429 | cl_device_id /*in_device*/, 430 | cl_kernel_sub_group_info /* param_name */, 431 | size_t /*input_value_size*/, 432 | const void * /*input_value*/, 433 | size_t /*param_value_size*/, 434 | void* /*param_value*/, 435 | size_t* /*param_value_size_ret*/ ) CL_EXT_SUFFIX__VERSION_2_0; 436 | #endif /* CL_VERSION_2_0 */ 437 | 438 | #ifdef __cplusplus 439 | } 440 | #endif 441 | 442 | 443 | #endif /* __CL_EXT_H */ 444 | -------------------------------------------------------------------------------- /Build/OpenCL/CL/cl_gl.h: -------------------------------------------------------------------------------- 1 | /********************************************************************************** 2 | * Copyright (c) 2008 - 2013 The Khronos Group Inc. 3 | * 4 | * Permission is hereby granted, free of charge, to any person obtaining a 5 | * copy of this software and/or associated documentation files (the 6 | * "Materials"), to deal in the Materials without restriction, including 7 | * without limitation the rights to use, copy, modify, merge, publish, 8 | * distribute, sublicense, and/or sell copies of the Materials, and to 9 | * permit persons to whom the Materials are furnished to do so, subject to 10 | * the following conditions: 11 | * 12 | * The above copyright notice and this permission notice shall be included 13 | * in all copies or substantial portions of the Materials. 14 | * 15 | * THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 16 | * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 17 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 18 | * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 19 | * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 20 | * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 21 | * MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. 22 | **********************************************************************************/ 23 | 24 | #ifndef __OPENCL_CL_GL_H 25 | #define __OPENCL_CL_GL_H 26 | 27 | #ifdef __APPLE__ 28 | #include 29 | #else 30 | #include 31 | #endif 32 | 33 | #ifdef __cplusplus 34 | extern "C" { 35 | #endif 36 | 37 | typedef cl_uint cl_gl_object_type; 38 | typedef cl_uint cl_gl_texture_info; 39 | typedef cl_uint cl_gl_platform_info; 40 | typedef struct __GLsync *cl_GLsync; 41 | 42 | /* cl_gl_object_type = 0x2000 - 0x200F enum values are currently taken */ 43 | #define CL_GL_OBJECT_BUFFER 0x2000 44 | #define CL_GL_OBJECT_TEXTURE2D 0x2001 45 | #define CL_GL_OBJECT_TEXTURE3D 0x2002 46 | #define CL_GL_OBJECT_RENDERBUFFER 0x2003 47 | #define CL_GL_OBJECT_TEXTURE2D_ARRAY 0x200E 48 | #define CL_GL_OBJECT_TEXTURE1D 0x200F 49 | #define CL_GL_OBJECT_TEXTURE1D_ARRAY 0x2010 50 | #define CL_GL_OBJECT_TEXTURE_BUFFER 0x2011 51 | 52 | /* cl_gl_texture_info */ 53 | #define CL_GL_TEXTURE_TARGET 0x2004 54 | #define CL_GL_MIPMAP_LEVEL 0x2005 55 | #define CL_GL_NUM_SAMPLES 0x2012 56 | 57 | 58 | extern CL_API_ENTRY cl_mem CL_API_CALL 59 | clCreateFromGLBuffer(cl_context /* context */, 60 | cl_mem_flags /* flags */, 61 | cl_GLuint /* bufobj */, 62 | int * /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0; 63 | 64 | extern CL_API_ENTRY cl_mem CL_API_CALL 65 | clCreateFromGLTexture(cl_context /* context */, 66 | cl_mem_flags /* flags */, 67 | cl_GLenum /* target */, 68 | cl_GLint /* miplevel */, 69 | cl_GLuint /* texture */, 70 | cl_int * /* errcode_ret */) CL_API_SUFFIX__VERSION_1_2; 71 | 72 | extern CL_API_ENTRY cl_mem CL_API_CALL 73 | clCreateFromGLRenderbuffer(cl_context /* context */, 74 | cl_mem_flags /* flags */, 75 | cl_GLuint /* renderbuffer */, 76 | cl_int * /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0; 77 | 78 | extern CL_API_ENTRY cl_int CL_API_CALL 79 | clGetGLObjectInfo(cl_mem /* memobj */, 80 | cl_gl_object_type * /* gl_object_type */, 81 | cl_GLuint * /* gl_object_name */) CL_API_SUFFIX__VERSION_1_0; 82 | 83 | extern CL_API_ENTRY cl_int CL_API_CALL 84 | clGetGLTextureInfo(cl_mem /* memobj */, 85 | cl_gl_texture_info /* param_name */, 86 | size_t /* param_value_size */, 87 | void * /* param_value */, 88 | size_t * /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0; 89 | 90 | extern CL_API_ENTRY cl_int CL_API_CALL 91 | clEnqueueAcquireGLObjects(cl_command_queue /* command_queue */, 92 | cl_uint /* num_objects */, 93 | const cl_mem * /* mem_objects */, 94 | cl_uint /* num_events_in_wait_list */, 95 | const cl_event * /* event_wait_list */, 96 | cl_event * /* event */) CL_API_SUFFIX__VERSION_1_0; 97 | 98 | extern CL_API_ENTRY cl_int CL_API_CALL 99 | clEnqueueReleaseGLObjects(cl_command_queue /* command_queue */, 100 | cl_uint /* num_objects */, 101 | const cl_mem * /* mem_objects */, 102 | cl_uint /* num_events_in_wait_list */, 103 | const cl_event * /* event_wait_list */, 104 | cl_event * /* event */) CL_API_SUFFIX__VERSION_1_0; 105 | 106 | 107 | /* Deprecated OpenCL 1.1 APIs */ 108 | extern CL_API_ENTRY CL_EXT_PREFIX__VERSION_1_1_DEPRECATED cl_mem CL_API_CALL 109 | clCreateFromGLTexture2D(cl_context /* context */, 110 | cl_mem_flags /* flags */, 111 | cl_GLenum /* target */, 112 | cl_GLint /* miplevel */, 113 | cl_GLuint /* texture */, 114 | cl_int * /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_1_DEPRECATED; 115 | 116 | extern CL_API_ENTRY CL_EXT_PREFIX__VERSION_1_1_DEPRECATED cl_mem CL_API_CALL 117 | clCreateFromGLTexture3D(cl_context /* context */, 118 | cl_mem_flags /* flags */, 119 | cl_GLenum /* target */, 120 | cl_GLint /* miplevel */, 121 | cl_GLuint /* texture */, 122 | cl_int * /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_1_DEPRECATED; 123 | 124 | /* cl_khr_gl_sharing extension */ 125 | 126 | #define cl_khr_gl_sharing 1 127 | 128 | typedef cl_uint cl_gl_context_info; 129 | 130 | /* Additional Error Codes */ 131 | #define CL_INVALID_GL_SHAREGROUP_REFERENCE_KHR -1000 132 | 133 | /* cl_gl_context_info */ 134 | #define CL_CURRENT_DEVICE_FOR_GL_CONTEXT_KHR 0x2006 135 | #define CL_DEVICES_FOR_GL_CONTEXT_KHR 0x2007 136 | 137 | /* Additional cl_context_properties */ 138 | #define CL_GL_CONTEXT_KHR 0x2008 139 | #define CL_EGL_DISPLAY_KHR 0x2009 140 | #define CL_GLX_DISPLAY_KHR 0x200A 141 | #define CL_WGL_HDC_KHR 0x200B 142 | #define CL_CGL_SHAREGROUP_KHR 0x200C 143 | 144 | extern CL_API_ENTRY cl_int CL_API_CALL 145 | clGetGLContextInfoKHR(const cl_context_properties * /* properties */, 146 | cl_gl_context_info /* param_name */, 147 | size_t /* param_value_size */, 148 | void * /* param_value */, 149 | size_t * /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0; 150 | 151 | typedef CL_API_ENTRY cl_int (CL_API_CALL *clGetGLContextInfoKHR_fn)( 152 | const cl_context_properties * properties, 153 | cl_gl_context_info param_name, 154 | size_t param_value_size, 155 | void * param_value, 156 | size_t * param_value_size_ret); 157 | 158 | #ifdef __cplusplus 159 | } 160 | #endif 161 | 162 | #endif /* __OPENCL_CL_GL_H */ 163 | -------------------------------------------------------------------------------- /Build/OpenCL/CL/cl_gl_ext.h: -------------------------------------------------------------------------------- 1 | /********************************************************************************** 2 | * Copyright (c) 2008-2013 The Khronos Group Inc. 3 | * 4 | * Permission is hereby granted, free of charge, to any person obtaining a 5 | * copy of this software and/or associated documentation files (the 6 | * "Materials"), to deal in the Materials without restriction, including 7 | * without limitation the rights to use, copy, modify, merge, publish, 8 | * distribute, sublicense, and/or sell copies of the Materials, and to 9 | * permit persons to whom the Materials are furnished to do so, subject to 10 | * the following conditions: 11 | * 12 | * The above copyright notice and this permission notice shall be included 13 | * in all copies or substantial portions of the Materials. 14 | * 15 | * THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 16 | * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 17 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 18 | * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 19 | * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 20 | * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 21 | * MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. 22 | **********************************************************************************/ 23 | 24 | /* $Revision: 11708 $ on $Date: 2010-06-13 23:36:24 -0700 (Sun, 13 Jun 2010) $ */ 25 | 26 | /* cl_gl_ext.h contains vendor (non-KHR) OpenCL extensions which have */ 27 | /* OpenGL dependencies. */ 28 | 29 | #ifndef __OPENCL_CL_GL_EXT_H 30 | #define __OPENCL_CL_GL_EXT_H 31 | 32 | #ifdef __cplusplus 33 | extern "C" { 34 | #endif 35 | 36 | #ifdef __APPLE__ 37 | #include 38 | #else 39 | #include 40 | #endif 41 | 42 | /* 43 | * For each extension, follow this template 44 | * cl_VEN_extname extension */ 45 | /* #define cl_VEN_extname 1 46 | * ... define new types, if any 47 | * ... define new tokens, if any 48 | * ... define new APIs, if any 49 | * 50 | * If you need GLtypes here, mirror them with a cl_GLtype, rather than including a GL header 51 | * This allows us to avoid having to decide whether to include GL headers or GLES here. 52 | */ 53 | 54 | /* 55 | * cl_khr_gl_event extension 56 | * See section 9.9 in the OpenCL 1.1 spec for more information 57 | */ 58 | #define CL_COMMAND_GL_FENCE_SYNC_OBJECT_KHR 0x200D 59 | 60 | extern CL_API_ENTRY cl_event CL_API_CALL 61 | clCreateEventFromGLsyncKHR(cl_context /* context */, 62 | cl_GLsync /* cl_GLsync */, 63 | cl_int * /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_1; 64 | 65 | #ifdef __cplusplus 66 | } 67 | #endif 68 | 69 | #endif /* __OPENCL_CL_GL_EXT_H */ 70 | -------------------------------------------------------------------------------- /Build/OpenCL/CL/opencl.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2008-2013 The Khronos Group Inc. 3 | * 4 | * Permission is hereby granted, free of charge, to any person obtaining a 5 | * copy of this software and/or associated documentation files (the 6 | * "Materials"), to deal in the Materials without restriction, including 7 | * without limitation the rights to use, copy, modify, merge, publish, 8 | * distribute, sublicense, and/or sell copies of the Materials, and to 9 | * permit persons to whom the Materials are furnished to do so, subject to 10 | * the following conditions: 11 | * 12 | * The above copyright notice and this permission notice shall be included 13 | * in all copies or substantial portions of the Materials. 14 | * 15 | * THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 16 | * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 17 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 18 | * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 19 | * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 20 | * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 21 | * MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. 22 | ******************************************************************************/ 23 | 24 | /* $Revision: 11708 $ on $Date: 2010-06-13 23:36:24 -0700 (Sun, 13 Jun 2010) $ */ 25 | 26 | #ifndef __OPENCL_H 27 | #define __OPENCL_H 28 | 29 | #ifdef __cplusplus 30 | extern "C" { 31 | #endif 32 | 33 | #ifdef __APPLE__ 34 | 35 | #include 36 | #include 37 | #include 38 | #include 39 | 40 | #else 41 | 42 | #include 43 | #include 44 | #include 45 | #include 46 | 47 | #endif 48 | 49 | #ifdef __cplusplus 50 | } 51 | #endif 52 | 53 | #endif /* __OPENCL_H */ 54 | 55 | -------------------------------------------------------------------------------- /Build/PerlMagick/Makefile.PL.in: -------------------------------------------------------------------------------- 1 | # Copyright (C) 1999-2015 ImageMagick Studio LLC 2 | # 3 | # This program is covered by multiple licenses, which are described in 4 | # LICENSE. You should have received a copy of LICENSE with this 5 | # package; otherwise see http://www.imagemagick.org/script/license.php. 6 | # 7 | # Makefile for building PerlMagick under Windows 8 | # 9 | # 10 | # 11 | use ExtUtils::MakeMaker; 12 | use Config; 13 | # See lib/ExtUtils/MakeMaker.pm for details of how to influence 14 | # the contents of the Makefile that is written. 15 | # 16 | # NOTE: The current ActiveState binary distribution does not completely setup 17 | # the values in C:/Perl/lib/Config.pm. You must manually modify the values of 18 | # libpth to add the VisualC++ library path. It should look similar to one of 19 | # the following examples in order to work properly. 20 | # 21 | # Random developer 22 | # libpth='"C:\Perl\lib\CORE" "D:\DevStudio\VC98\lib"' 23 | # 24 | # Visual Studio 6.0 default install: 25 | # libpth='"C:\Program Files\Microsoft Visual Studio\VC98\lib" "C:\Perl\lib\CORE"' 26 | # 27 | # Visual Studio 7.0 default install: 28 | # libpth='"C:\Program Files\Microsoft Visual Studio .NET\vc7\lib" "C:\Perl\lib\CORE"' 29 | # 30 | # Visual Studio 7.1 default install: 31 | # libpth='"C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\lib" "C:\Perl\lib\CORE"' 32 | # 33 | # Visual Studio 9.0 default install (C:\Perl\lib\Config.pm): 34 | # libpth='"C:\Program Files\Microsoft Visual Studio 9.0\VC\lib" "C:\Perl\lib\CORE"' 35 | # 36 | WriteMakefile( 37 | 'ABSTRACT' => 'ImageMagick PERL Extension', 38 | 'AUTHOR' => 'ImageMagick Studio', 39 | 'NAME' => 'Image::Magick', 40 | 'VERSION_FROM' => 'Magick.pm', 41 | 'LIBS' => ['-L. -l$$LIB_NAME$$'], 42 | 'DEFINE' => '-D_VISUALC_ -D_WINDOWS', 43 | 'INC' => '-I..', 44 | 'BINARY_LOCATION' => '$$PLATFORM$$\Image-Magick.zip', 45 | 'dist' => {ZIP => "powershell -ExecutionPolicy Unrestricted .\\Zip.ps1"}, 46 | 'clean' => {FILES => "Image-Magick.ppd Image-Magick.zip" }, 47 | ($Config{'archname'} =~ /-object$/i ? ('CAPI' => 'TRUE') : ()), 48 | ); 49 | 50 | # 51 | # Add a targets for building ActiveState ppm distribution modules 52 | # Dylan Beattie , April 2002 53 | # 54 | # Requires tar, gzip, and zip. This produces PerlMagick.zip 55 | # Get GNU tar and gzip from http://sourceware.cygnus.com/ 56 | # Get Win32 command line PKZIP from http://www.pkware.com/ 57 | # and rename PKZIP.EXE to ZIP.EXE and PKUNZIP.EXE to UNZIP.EXE 58 | # Make sure tar.exe, gzip.exe and zip.exe are in your system path 59 | # 60 | # 'nmake ppm' will include only the PerlMagick module 61 | # 'nmake ppm-full' also includes all ImageMagick DLLs and MGK files 62 | 63 | sub MY::postamble 64 | { 65 | ' 66 | create-import-library: 67 | pexports ../../Artifacts/bin/$$LIB_NAME$$.dll > $$LIB_NAME$$.def 68 | dlltool -d $$LIB_NAME$$.def -l $$LIB_NAME$$.a 69 | 70 | Magick.pm: create-import-library 71 | 72 | Image-Magick.zip: ppd pure_all 73 | if exist $$PLATFORM$$ del $$PLATFORM$$ /f /q 74 | if exist $$PLATFORM$$ rd $$PLATFORM$$ 75 | md $$PLATFORM$$ 76 | $(ZIP) $$PLATFORM$$\Image-Magick.zip blib 77 | 78 | release: Image-Magick.zip 79 | ' 80 | } 81 | 82 | # 83 | # Modify the MakeMaker test fragment 84 | # 85 | sub MY::test 86 | { 87 | # 88 | # List any ImageMagick features derived from add-on libraries 89 | # or programs you would like to test. 90 | # 91 | # Valid choices are: 92 | # 93 | # Feature Formats Tested Prerequisites 94 | # ======= ====================== ====================================== 95 | # bzlib BZip compression BZip library 96 | # cgm CGM format 'ralcgm' program 97 | # hdf HDF format HDF library 98 | # jbig JBIG format JBIG library 99 | # jpeg JPEG format JPEG library 100 | # mpeg MPEG format 'ffmpeg' program 101 | # png PNG format PNG and Zlib libraries 102 | # ps Postscript format 'gs' program and/or DPS library 103 | # rad Radiance format 'ra_ppm' program 104 | # tiff TIFF format TIFF library 105 | # ttf TrueType font format FreeType library 106 | # x X11 support X-windows libraries and server 107 | # xfig Xfig format 'transfig' program 108 | # zlib Zip compression Zlib library 109 | # 110 | my @DELEGATES = qw/ bzlib cgm jbig jpeg mpeg png ps tiff wmf x xfig zlib/; 111 | 112 | package MY; # so that "SUPER" works right 113 | my $inherited = shift->SUPER::test(@_); 114 | my $delegate_tests= 115 | " t/setattribute.t" . 116 | " t/getattribute.t" . 117 | " t/filter.t" . 118 | " t/read.t" . 119 | " t/ping.t" . 120 | " t/montage.t" . 121 | " t/write.t" . 122 | " t/hpgl/read.t" . 123 | " t/jbig/read.t" . 124 | " t/jbig/write.t" . 125 | " t/jng/read.t" . 126 | " t/jng/write.t" . 127 | " t/openjp2/read.t" . 128 | " t/jpeg/read.t" . 129 | " t/jpeg/write.t" . 130 | " t/png/read.t" . 131 | " t/png/write.t" . 132 | " t/ps/read.t" . 133 | " t/ps/write.t" . 134 | " t/tiff/read.t" . 135 | " t/tiff/write.t" . 136 | " t/ttf/read.t" . 137 | " t/wmf/read.t" . 138 | " t/zlib/read.t" . 139 | " t/zlib/write.t"; 140 | if ( defined $ENV{'DISPLAY'} ) { 141 | $delegate_tests .= " t/x11/write.t t/x11/read.t"; 142 | } 143 | $inherited =~ s:^TEST_FILES =.*:TEST_FILES = ${delegate_tests}:m; 144 | $inherited; 145 | } 146 | -------------------------------------------------------------------------------- /Build/PerlMagick/Zip.ps1: -------------------------------------------------------------------------------- 1 | ############################################################################### 2 | # Copyright ImageMagick 2015-2016 3 | ############################################################################### 4 | 5 | Add-Type -AssemblyName System.IO.Compression.FileSystem 6 | 7 | $fileName = $args[0] 8 | $directory = $args[1] 9 | 10 | if (Test-path $fileName) 11 | { 12 | Remove-item $fileName 13 | } 14 | 15 | $compressionLevel = [System.IO.Compression.CompressionLevel]::Optimal 16 | [System.IO.Compression.ZipFile]::CreateFromDirectory($directory, $fileName, $compressionLevel, $false) -------------------------------------------------------------------------------- /Build/nasm.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/ImageMagick-Windows/925b29a5b8e3d3464c8eed214e9dfa2953599285/Build/nasm.exe -------------------------------------------------------------------------------- /Build/package.version.h.in: -------------------------------------------------------------------------------- 1 | #include "version.h" 2 | #define MagickPackageVersionNumber @PACKAGE_LIB_VERSION_NUMBER@ 3 | #define MagickPackageVersionText "@MAGICK_LIB_VERSION_TEXT@@PACKAGE_VERSION_ADDENDUM@" -------------------------------------------------------------------------------- /CloneRepositories.IM6.cmd: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | set COMMIT=%1 4 | 5 | set BASH="%PROGRAMFILES%\Git\bin\bash.exe" 6 | if exist %BASH% goto EXECUTE 7 | 8 | set BASH="%PROGRAMFILES(x86)%\Git\bin\bash.exe" 9 | if exist %BASH% goto EXECUTE 10 | 11 | set BASH="%ProgramW6432%\Git\bin\bash.exe" 12 | if exist %BASH% goto EXECUTE 13 | 14 | set BASH="%USERPROFILE%\scoop\apps\git\current\bin\bash.exe" 15 | if exist %BASH% goto EXECUTE 16 | 17 | for /F "tokens=*" %%g in ('where bash') do (SET BASH=%%g) 18 | if exist %BASH% goto EXECUTE 19 | 20 | echo Failed to find bash.exe 21 | echo %BASH% 22 | exit /b 1 23 | 24 | :EXECUTE 25 | %BASH% --login -c "./CloneRepositories.sh ImageMagick6 %COMMIT%" 26 | -------------------------------------------------------------------------------- /CloneRepositories.IM7.cmd: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | set COMMIT=%1 4 | 5 | set BASH="%PROGRAMFILES%\Git\bin\bash.exe" 6 | if exist %BASH% goto EXECUTE 7 | 8 | set BASH="%PROGRAMFILES(x86)%\Git\bin\bash.exe" 9 | if exist %BASH% goto EXECUTE 10 | 11 | set BASH="%ProgramW6432%\Git\bin\bash.exe" 12 | if exist %BASH% goto EXECUTE 13 | 14 | set BASH="%USERPROFILE%\scoop\apps\git\current\bin\bash.exe" 15 | if exist %BASH% goto EXECUTE 16 | 17 | for /F "tokens=*" %%g in ('where bash') do (SET BASH=%%g) 18 | if exist %BASH% goto EXECUTE 19 | 20 | echo Failed to find bash.exe 21 | echo %BASH% 22 | exit /b 1 23 | 24 | :EXECUTE 25 | %BASH% --login -c "./CloneRepositories.sh ImageMagick %COMMIT%" 26 | -------------------------------------------------------------------------------- /CloneRepositories.sh: -------------------------------------------------------------------------------- 1 | #/bin/bash 2 | set -e 3 | 4 | clone() 5 | { 6 | local repo=$1 7 | local folder=$2 8 | 9 | echo '' 10 | echo "Cloning $repo" 11 | 12 | if [ ! -d "$folder" ]; then 13 | git clone https://github.com/ImageMagick/$repo.git $folder 14 | if [ $? != 0 ]; then echo "Error during checkout"; exit; fi 15 | fi 16 | 17 | cd $folder 18 | git reset --hard 19 | git pull origin main 20 | cd .. 21 | } 22 | 23 | clone_commit() 24 | { 25 | local repo=$1 26 | local commit=$2 27 | local folder=$3 28 | 29 | clone $repo $folder 30 | 31 | cd $folder 32 | git checkout $commit >/dev/null 33 | git show --oneline -s 34 | cd .. 35 | } 36 | 37 | clone_date() 38 | { 39 | local repo=$1 40 | local date=$2 41 | 42 | clone $repo $repo 43 | 44 | cd $repo 45 | local commit=$(git rev-list -n 1 --before="$date" origin/main) 46 | git checkout $commit >/dev/null 47 | git show --oneline -s 48 | cd .. 49 | } 50 | 51 | download_release() 52 | { 53 | local project=$1 54 | local release=$2 55 | local file=$3 56 | 57 | echo "Downloading $file from $release of $project" 58 | 59 | curl -sS -L "https://github.com/ImageMagick/$project/releases/download/$release/$file" -o "$file" 60 | } 61 | 62 | imagemagick=$1 63 | sha=$2 64 | 65 | if [ -z "$imagemagick" ]; then 66 | echo "Usage: $0 ImageMagick/ImageMagick6 [|latest]" 67 | exit 1 68 | fi 69 | 70 | if [ -d "../$imagemagick" ]; then 71 | echo "Copying repository from ../$imagemagick" 72 | cp -R ../$imagemagick "ImageMagick" 73 | git -C "ImageMagick" show --oneline -s 74 | else 75 | if [ -z "$sha" ] || [ "$sha" = "latest" ]; then 76 | commit=$(git ls-remote "https://github.com/ImageMagick/$imagemagick" "main" | cut -f 1) 77 | else 78 | commit=$sha 79 | fi 80 | 81 | clone_commit "$imagemagick" "$commit" "ImageMagick" 82 | fi 83 | 84 | if [ "$sha" = "latest" ]; then 85 | commitDate=`date "+%Y-%m-%d %H:%M:%S %z"` 86 | else 87 | # get a commit date from the current ImageMagick checkout 88 | commitDate=`git -C ImageMagick log -1 --format=%ci` 89 | 90 | repoCommitDate=`git log -1 --format=%ci` 91 | 92 | if [[ "$commitDate" < "$repoCommitDate" ]]; then 93 | echo "Commit date $commitDate is older than the latest commit date of this repository $repoCommitDate" 94 | commitDate=$repoCommitDate 95 | fi 96 | fi 97 | echo "Set latest commit date as $commitDate" 98 | 99 | if [ ! -d "Configure" ]; then 100 | mkdir -p "Configure" 101 | fi 102 | 103 | # only download configure on windows 104 | if [[ "$OSTYPE" == "msys"* ]]; then 105 | cd "Configure" 106 | 107 | configure_release="2025.06.14.1339" 108 | download_release "Configure" "$configure_release" "Configure.Release.x64.exe" 109 | download_release "Configure" "$configure_release" "Configure.Release.arm64.exe" 110 | download_release "Configure" "$configure_release" "Configure.Release.x86.exe" 111 | 112 | cd .. 113 | fi 114 | 115 | if [ ! -d "Dependencies" ]; then 116 | mkdir -p "Dependencies" 117 | fi 118 | 119 | cd "Dependencies" 120 | 121 | clone_date 'aom' "$commitDate" 122 | clone_date 'brotli' "$commitDate" 123 | clone_date 'bzlib' "$commitDate" 124 | clone_date 'cairo' "$commitDate" 125 | clone_date 'croco' "$commitDate" 126 | clone_date 'de265' "$commitDate" 127 | clone_date 'deflate' "$commitDate" 128 | clone_date 'exr' "$commitDate" 129 | clone_date 'ffi' "$commitDate" 130 | clone_date 'freetype' "$commitDate" 131 | clone_date 'fribidi' "$commitDate" 132 | clone_date 'glib' "$commitDate" 133 | clone_date 'harfbuzz' "$commitDate" 134 | clone_date 'heif' "$commitDate" 135 | clone_date 'highway' "$commitDate" 136 | clone_date 'jpeg-turbo' "$commitDate" 137 | clone_date 'jpeg-turbo-12' "$commitDate" 138 | clone_date 'jpeg-turbo-16' "$commitDate" 139 | clone_date 'jpeg-xl' "$commitDate" 140 | clone_date 'lcms' "$commitDate" 141 | clone_date 'lqr' "$commitDate" 142 | clone_date 'lzma' "$commitDate" 143 | clone_date 'openh264' "$commitDate" 144 | clone_date 'openjpeg' "$commitDate" 145 | clone_date 'pango' "$commitDate" 146 | clone_date 'pixman' "$commitDate" 147 | clone_date 'png' "$commitDate" 148 | clone_date 'raqm' "$commitDate" 149 | clone_date 'raw' "$commitDate" 150 | clone_date 'rsvg' "$commitDate" 151 | clone_date 'tiff' "$commitDate" 152 | clone_date 'webp' "$commitDate" 153 | clone_date 'xml' "$commitDate" 154 | clone_date 'zip' "$commitDate" 155 | clone_date 'zlib' "$commitDate" 156 | 157 | cd .. 158 | 159 | if [ ! -d "OptionalDependencies" ]; then 160 | mkdir -p "OptionalDependencies" 161 | fi 162 | 163 | cd "OptionalDependencies" 164 | 165 | clone_date 'dcraw' "$commitDate" 166 | clone_date 'fftw' "$commitDate" 167 | clone_date 'flif' "$commitDate" 168 | clone_date 'IMDisplay' "$commitDate" 169 | clone_date 'jbig' "$commitDate" 170 | -------------------------------------------------------------------------------- /Installer/Inno/ImageMagick.iss: -------------------------------------------------------------------------------- 1 | ; Copyright @ 1999 ImageMagick Studio LLC, a non-profit organization 2 | ; dedicated to making software imaging solutions freely available. 3 | ; 4 | ; You may not use this file except in compliance with the License. You may 5 | ; obtain a copy of the License at 6 | ; 7 | ; https://imagemagick.org/script/license.php 8 | ; 9 | ; Unless required by applicable law or agreed to in writing, software 10 | ; distributed under the License is distributed on an "AS IS" BASIS, 11 | ; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | ; See the License for the specific language governing permissions and 13 | ; limitations under the License. 14 | ; 15 | ; Copyright (C) 2003 - 2008 GraphicsMagick Group 16 | 17 | ; #pragma option -v+ 18 | ; #pragma verboselevel 4 19 | ; #define DEBUG 1 20 | 21 | #include "config.isx" 22 | #include "inc\body.isx" 23 | 24 | #ifdef Debug 25 | #expr SaveToFile(AddBackslash(SourcePath) + "im-arm64-dll-Q8.isp") 26 | #endif 27 | -------------------------------------------------------------------------------- /Installer/Inno/Magick++_Demo/Magick++_Demo.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "button"=".\button.dsp" - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Project: "demo"=".\demo.dsp" - Package Owner=<4> 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<4> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | Project: "detrans"=".\detrans.dsp" - Package Owner=<4> 31 | 32 | Package=<5> 33 | {{{ 34 | }}} 35 | 36 | Package=<4> 37 | {{{ 38 | }}} 39 | 40 | ############################################################################### 41 | 42 | Project: "flip"=".\flip.dsp" - Package Owner=<4> 43 | 44 | Package=<5> 45 | {{{ 46 | }}} 47 | 48 | Package=<4> 49 | {{{ 50 | }}} 51 | 52 | ############################################################################### 53 | 54 | Project: "gravity"=".\gravity.dsp" - Package Owner=<4> 55 | 56 | Package=<5> 57 | {{{ 58 | }}} 59 | 60 | Package=<4> 61 | {{{ 62 | }}} 63 | 64 | ############################################################################### 65 | 66 | Project: "piddle"=".\piddle.dsp" - Package Owner=<4> 67 | 68 | Package=<5> 69 | {{{ 70 | }}} 71 | 72 | Package=<4> 73 | {{{ 74 | }}} 75 | 76 | ############################################################################### 77 | 78 | Project: "shapes"=".\shapes.dsp" - Package Owner=<4> 79 | 80 | Package=<5> 81 | {{{ 82 | }}} 83 | 84 | Package=<4> 85 | {{{ 86 | }}} 87 | 88 | ############################################################################### 89 | 90 | Project: "zoom"=".\zoom.dsp" - Package Owner=<4> 91 | 92 | Package=<5> 93 | {{{ 94 | }}} 95 | 96 | Package=<4> 97 | {{{ 98 | }}} 99 | 100 | ############################################################################### 101 | 102 | Global: 103 | 104 | Package=<5> 105 | {{{ 106 | }}} 107 | 108 | Package=<3> 109 | {{{ 110 | }}} 111 | 112 | ############################################################################### 113 | 114 | -------------------------------------------------------------------------------- /Installer/Inno/Magick++_Demo/README.txt: -------------------------------------------------------------------------------- 1 | This directory contains the source for a set of Magick++ demo programs 2 | as well as the Visual C++ 6.0 project files required to build them. 3 | 4 | To build the demos, open the Workspace file Magick++_Demo.dsw in Visual C++ 5 | and select "build all". 6 | 7 | The batch script run_demos.bat runs all of the demos in the current directory. 8 | Output from the files use the naming scheme *_out.miff. 9 | 10 | The provided demos include: 11 | 12 | demo - creates a montage illustrating most of the image processing 13 | operations. 14 | detrans - simple utility to remove transparency from a file 15 | flip - demonstrates manipulating animations by flipping an animation 16 | upside down. 17 | gravity - creates an animation showing how gravity effects text placement 18 | piddle - a vector drawing demo which illustrates use of a drawable list 19 | shapes - a simple vector drawing demo 20 | zoom - simple utility for evaluating the effect of resize filters on a 21 | resized image. 22 | 23 | 24 | -------------------------------------------------------------------------------- /Installer/Inno/Magick++_Demo/button.dsp: -------------------------------------------------------------------------------- 1 | # Microsoft Developer Studio Project File - Name="button" - Package Owner=<4> 2 | # Microsoft Developer Studio Generated Build File, Format Version 6.00 3 | # ** DO NOT EDIT ** 4 | 5 | # TARGTYPE "Win32 (x86) Console Application" 0x0103 6 | 7 | CFG=button - Win32 Release 8 | !MESSAGE This is not a valid makefile. To build this project using NMAKE, 9 | !MESSAGE use the Export Makefile command and run 10 | !MESSAGE 11 | !MESSAGE NMAKE /f "button.mak". 12 | !MESSAGE 13 | !MESSAGE You can specify a configuration when running NMAKE 14 | !MESSAGE by defining the macro CFG on the command line. For example: 15 | !MESSAGE 16 | !MESSAGE NMAKE /f "button.mak" CFG="button - Win32 Release" 17 | !MESSAGE 18 | !MESSAGE Possible choices for configuration are: 19 | !MESSAGE 20 | !MESSAGE "button - Win32 Release" (based on "Win32 (x86) Console Application") 21 | !MESSAGE 22 | 23 | # Begin Project 24 | # PROP AllowPerConfigDependencies 0 25 | # PROP Scc_ProjName "" 26 | # PROP Scc_LocalPath "" 27 | CPP=cl.exe 28 | RSC=rc.exe 29 | # PROP Use_MFC 0 30 | # PROP Use_Debug_Libraries 0 31 | # PROP Output_Dir "" 32 | # PROP Intermediate_Dir "Release\button" 33 | # PROP Ignore_Export_Lib 0 34 | # PROP Target_Dir "" 35 | LIB32=link.exe -lib 36 | MTL=midl.exe 37 | # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 38 | # ADD CPP /nologo /MD /W3 /GX /Zi /O2 /I "..\\" /I "..\include" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D "_VISUALC_" /D "NeedFunctionPrototypes" /D "_DLL" /D "_MAGICKMOD_" /FD /c 39 | # ADD BASE RSC /l 0x409 40 | # ADD RSC /l 0x409 /d "NDEBUG" 41 | BSC32=bscmake.exe 42 | # ADD BSC32 /nologo 43 | LINK32=link.exe 44 | # ADD BASE LINK32 /machine:IX86 45 | # ADD LINK32 CORE_RL_magick_.lib CORE_RL_Magick++_.lib kernel32.lib user32.lib gdi32.lib odbc32.lib odbccp32.lib ole32.lib oleaut32.lib winmm.lib wsock32.lib advapi32.lib /nologo /subsystem:console /debug /machine:I386 /libpath:"..\lib\\" /libpath:"..\lib" 46 | # SUBTRACT LINK32 /pdb:none 47 | # Begin Target 48 | 49 | # Name "button - Win32 Release" 50 | # Begin Group "src" 51 | 52 | # PROP Default_Filter "" 53 | # Begin Source File 54 | 55 | SOURCE="button.cpp" 56 | # End Source File 57 | # End Group 58 | # Begin Group "include" 59 | 60 | # PROP Default_Filter "" 61 | # End Group 62 | # End Target 63 | # End Project 64 | -------------------------------------------------------------------------------- /Installer/Inno/Magick++_Demo/demo.dsp: -------------------------------------------------------------------------------- 1 | # Microsoft Developer Studio Project File - Name="demo" - Package Owner=<4> 2 | # Microsoft Developer Studio Generated Build File, Format Version 6.00 3 | # ** DO NOT EDIT ** 4 | 5 | # TARGTYPE "Win32 (x86) Console Application" 0x0103 6 | 7 | CFG=demo - Win32 Release 8 | !MESSAGE This is not a valid makefile. To build this project using NMAKE, 9 | !MESSAGE use the Export Makefile command and run 10 | !MESSAGE 11 | !MESSAGE NMAKE /f "demo.mak". 12 | !MESSAGE 13 | !MESSAGE You can specify a configuration when running NMAKE 14 | !MESSAGE by defining the macro CFG on the command line. For example: 15 | !MESSAGE 16 | !MESSAGE NMAKE /f "demo.mak" CFG="demo - Win32 Release" 17 | !MESSAGE 18 | !MESSAGE Possible choices for configuration are: 19 | !MESSAGE 20 | !MESSAGE "demo - Win32 Release" (based on "Win32 (x86) Console Application") 21 | !MESSAGE 22 | 23 | # Begin Project 24 | # PROP AllowPerConfigDependencies 0 25 | # PROP Scc_ProjName "" 26 | # PROP Scc_LocalPath "" 27 | CPP=cl.exe 28 | RSC=rc.exe 29 | # PROP Use_MFC 0 30 | # PROP Use_Debug_Libraries 0 31 | # PROP Output_Dir "" 32 | # PROP Intermediate_Dir "Release\demo" 33 | # PROP Ignore_Export_Lib 0 34 | # PROP Target_Dir "" 35 | LIB32=link.exe -lib 36 | MTL=midl.exe 37 | # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 38 | # ADD CPP /nologo /MD /W3 /GX /Zi /O2 /I "..\include" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D "_VISUALC_" /D "NeedFunctionPrototypes" /D "_DLL" /D "_MAGICKMOD_" /FD /c 39 | # ADD BASE RSC /l 0x409 40 | # ADD RSC /l 0x409 /d "NDEBUG" 41 | BSC32=bscmake.exe 42 | # ADD BSC32 /nologo 43 | LINK32=link.exe 44 | # ADD BASE LINK32 /machine:IX86 45 | # ADD LINK32 CORE_RL_magick_.lib CORE_RL_Magick++_.lib kernel32.lib user32.lib gdi32.lib odbc32.lib odbccp32.lib ole32.lib oleaut32.lib winmm.lib wsock32.lib advapi32.lib /nologo /subsystem:console /debug /machine:I386 /libpath:"..\lib" 46 | # SUBTRACT LINK32 /pdb:none 47 | # Begin Target 48 | 49 | # Name "demo - Win32 Release" 50 | # Begin Group "src" 51 | 52 | # PROP Default_Filter "" 53 | # Begin Source File 54 | 55 | SOURCE="demo.cpp" 56 | # End Source File 57 | # End Group 58 | # Begin Group "include" 59 | 60 | # PROP Default_Filter "" 61 | # End Group 62 | # End Target 63 | # End Project 64 | -------------------------------------------------------------------------------- /Installer/Inno/Magick++_Demo/detrans.dsp: -------------------------------------------------------------------------------- 1 | # Microsoft Developer Studio Project File - Name="detrans" - Package Owner=<4> 2 | # Microsoft Developer Studio Generated Build File, Format Version 6.00 3 | # ** DO NOT EDIT ** 4 | 5 | # TARGTYPE "Win32 (x86) Console Application" 0x0103 6 | 7 | CFG=detrans - Win32 Release 8 | !MESSAGE This is not a valid makefile. To build this project using NMAKE, 9 | !MESSAGE use the Export Makefile command and run 10 | !MESSAGE 11 | !MESSAGE NMAKE /f "detrans.mak". 12 | !MESSAGE 13 | !MESSAGE You can specify a configuration when running NMAKE 14 | !MESSAGE by defining the macro CFG on the command line. For example: 15 | !MESSAGE 16 | !MESSAGE NMAKE /f "detrans.mak" CFG="detrans - Win32 Release" 17 | !MESSAGE 18 | !MESSAGE Possible choices for configuration are: 19 | !MESSAGE 20 | !MESSAGE "detrans - Win32 Release" (based on "Win32 (x86) Console Application") 21 | !MESSAGE 22 | 23 | # Begin Project 24 | # PROP AllowPerConfigDependencies 0 25 | # PROP Scc_ProjName "" 26 | # PROP Scc_LocalPath "" 27 | CPP=cl.exe 28 | RSC=rc.exe 29 | # PROP Use_MFC 0 30 | # PROP Use_Debug_Libraries 0 31 | # PROP Output_Dir "" 32 | # PROP Intermediate_Dir "Release\detrans" 33 | # PROP Ignore_Export_Lib 0 34 | # PROP Target_Dir "" 35 | LIB32=link.exe -lib 36 | MTL=midl.exe 37 | # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 38 | # ADD CPP /nologo /MD /W3 /GX /Zi /O2 /I "..\\" /I "..\include" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D "_VISUALC_" /D "NeedFunctionPrototypes" /D "_DLL" /D "_MAGICKMOD_" /FD /c 39 | # ADD BASE RSC /l 0x409 40 | # ADD RSC /l 0x409 /d "NDEBUG" 41 | BSC32=bscmake.exe 42 | # ADD BSC32 /nologo 43 | LINK32=link.exe 44 | # ADD BASE LINK32 /machine:IX86 45 | # ADD LINK32 CORE_RL_magick_.lib CORE_RL_Magick++_.lib kernel32.lib user32.lib gdi32.lib odbc32.lib odbccp32.lib ole32.lib oleaut32.lib winmm.lib wsock32.lib advapi32.lib /nologo /subsystem:console /debug /machine:I386 /libpath:"..\lib\\" /libpath:"..\lib" 46 | # SUBTRACT LINK32 /pdb:none 47 | # Begin Target 48 | 49 | # Name "detrans - Win32 Release" 50 | # Begin Group "src" 51 | 52 | # PROP Default_Filter "" 53 | # Begin Source File 54 | 55 | SOURCE="detrans.cpp" 56 | # End Source File 57 | # End Group 58 | # Begin Group "include" 59 | 60 | # PROP Default_Filter "" 61 | # End Group 62 | # End Target 63 | # End Project 64 | -------------------------------------------------------------------------------- /Installer/Inno/Magick++_Demo/flip.dsp: -------------------------------------------------------------------------------- 1 | # Microsoft Developer Studio Project File - Name="flip" - Package Owner=<4> 2 | # Microsoft Developer Studio Generated Build File, Format Version 6.00 3 | # ** DO NOT EDIT ** 4 | 5 | # TARGTYPE "Win32 (x86) Console Application" 0x0103 6 | 7 | CFG=flip - Win32 Release 8 | !MESSAGE This is not a valid makefile. To build this project using NMAKE, 9 | !MESSAGE use the Export Makefile command and run 10 | !MESSAGE 11 | !MESSAGE NMAKE /f "flip.mak". 12 | !MESSAGE 13 | !MESSAGE You can specify a configuration when running NMAKE 14 | !MESSAGE by defining the macro CFG on the command line. For example: 15 | !MESSAGE 16 | !MESSAGE NMAKE /f "flip.mak" CFG="flip - Win32 Release" 17 | !MESSAGE 18 | !MESSAGE Possible choices for configuration are: 19 | !MESSAGE 20 | !MESSAGE "flip - Win32 Release" (based on "Win32 (x86) Console Application") 21 | !MESSAGE 22 | 23 | # Begin Project 24 | # PROP AllowPerConfigDependencies 0 25 | # PROP Scc_ProjName "" 26 | # PROP Scc_LocalPath "" 27 | CPP=cl.exe 28 | RSC=rc.exe 29 | # PROP Use_MFC 0 30 | # PROP Use_Debug_Libraries 0 31 | # PROP Output_Dir "" 32 | # PROP Intermediate_Dir "Release\flip" 33 | # PROP Ignore_Export_Lib 0 34 | # PROP Target_Dir "" 35 | LIB32=link.exe -lib 36 | MTL=midl.exe 37 | # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 38 | # ADD CPP /nologo /MD /W3 /GX /Zi /O2 /I "..\\" /I "..\include" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D "_VISUALC_" /D "NeedFunctionPrototypes" /D "_DLL" /D "_MAGICKMOD_" /FD /c 39 | # ADD BASE RSC /l 0x409 40 | # ADD RSC /l 0x409 /d "NDEBUG" 41 | BSC32=bscmake.exe 42 | # ADD BSC32 /nologo 43 | LINK32=link.exe 44 | # ADD BASE LINK32 /machine:IX86 45 | # ADD LINK32 CORE_RL_magick_.lib CORE_RL_Magick++_.lib kernel32.lib user32.lib gdi32.lib odbc32.lib odbccp32.lib ole32.lib oleaut32.lib winmm.lib wsock32.lib advapi32.lib /nologo /subsystem:console /debug /machine:I386 /libpath:"..\lib\\" /libpath:"..\lib" 46 | # SUBTRACT LINK32 /pdb:none 47 | # Begin Target 48 | 49 | # Name "flip - Win32 Release" 50 | # Begin Group "src" 51 | 52 | # PROP Default_Filter "" 53 | # Begin Source File 54 | 55 | SOURCE="flip.cpp" 56 | # End Source File 57 | # End Group 58 | # Begin Group "include" 59 | 60 | # PROP Default_Filter "" 61 | # End Group 62 | # End Target 63 | # End Project 64 | -------------------------------------------------------------------------------- /Installer/Inno/Magick++_Demo/gravity.dsp: -------------------------------------------------------------------------------- 1 | # Microsoft Developer Studio Project File - Name="gravity" - Package Owner=<4> 2 | # Microsoft Developer Studio Generated Build File, Format Version 6.00 3 | # ** DO NOT EDIT ** 4 | 5 | # TARGTYPE "Win32 (x86) Console Application" 0x0103 6 | 7 | CFG=gravity - Win32 Release 8 | !MESSAGE This is not a valid makefile. To build this project using NMAKE, 9 | !MESSAGE use the Export Makefile command and run 10 | !MESSAGE 11 | !MESSAGE NMAKE /f "gravity.mak". 12 | !MESSAGE 13 | !MESSAGE You can specify a configuration when running NMAKE 14 | !MESSAGE by defining the macro CFG on the command line. For example: 15 | !MESSAGE 16 | !MESSAGE NMAKE /f "gravity.mak" CFG="gravity - Win32 Release" 17 | !MESSAGE 18 | !MESSAGE Possible choices for configuration are: 19 | !MESSAGE 20 | !MESSAGE "gravity - Win32 Release" (based on "Win32 (x86) Console Application") 21 | !MESSAGE 22 | 23 | # Begin Project 24 | # PROP AllowPerConfigDependencies 0 25 | # PROP Scc_ProjName "" 26 | # PROP Scc_LocalPath "" 27 | CPP=cl.exe 28 | RSC=rc.exe 29 | # PROP Use_MFC 0 30 | # PROP Use_Debug_Libraries 0 31 | # PROP Output_Dir "" 32 | # PROP Intermediate_Dir "Release\gravity" 33 | # PROP Ignore_Export_Lib 0 34 | # PROP Target_Dir "" 35 | LIB32=link.exe -lib 36 | MTL=midl.exe 37 | # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 38 | # ADD CPP /nologo /MD /W3 /GX /Zi /O2 /I "..\\" /I "..\include" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D "_VISUALC_" /D "NeedFunctionPrototypes" /D "_DLL" /D "_MAGICKMOD_" /FD /c 39 | # ADD BASE RSC /l 0x409 40 | # ADD RSC /l 0x409 /d "NDEBUG" 41 | BSC32=bscmake.exe 42 | # ADD BSC32 /nologo 43 | LINK32=link.exe 44 | # ADD BASE LINK32 /machine:IX86 45 | # ADD LINK32 CORE_RL_magick_.lib CORE_RL_Magick++_.lib kernel32.lib user32.lib gdi32.lib odbc32.lib odbccp32.lib ole32.lib oleaut32.lib winmm.lib wsock32.lib advapi32.lib /nologo /subsystem:console /debug /machine:I386 /libpath:"..\lib\\" /libpath:"..\lib" 46 | # SUBTRACT LINK32 /pdb:none 47 | # Begin Target 48 | 49 | # Name "gravity - Win32 Release" 50 | # Begin Group "src" 51 | 52 | # PROP Default_Filter "" 53 | # Begin Source File 54 | 55 | SOURCE="gravity.cpp" 56 | # End Source File 57 | # End Group 58 | # Begin Group "include" 59 | 60 | # PROP Default_Filter "" 61 | # End Group 62 | # End Target 63 | # End Project 64 | -------------------------------------------------------------------------------- /Installer/Inno/Magick++_Demo/piddle.dsp: -------------------------------------------------------------------------------- 1 | # Microsoft Developer Studio Project File - Name="piddle" - Package Owner=<4> 2 | # Microsoft Developer Studio Generated Build File, Format Version 6.00 3 | # ** DO NOT EDIT ** 4 | 5 | # TARGTYPE "Win32 (x86) Console Application" 0x0103 6 | 7 | CFG=piddle - Win32 Release 8 | !MESSAGE This is not a valid makefile. To build this project using NMAKE, 9 | !MESSAGE use the Export Makefile command and run 10 | !MESSAGE 11 | !MESSAGE NMAKE /f "piddle.mak". 12 | !MESSAGE 13 | !MESSAGE You can specify a configuration when running NMAKE 14 | !MESSAGE by defining the macro CFG on the command line. For example: 15 | !MESSAGE 16 | !MESSAGE NMAKE /f "piddle.mak" CFG="piddle - Win32 Release" 17 | !MESSAGE 18 | !MESSAGE Possible choices for configuration are: 19 | !MESSAGE 20 | !MESSAGE "piddle - Win32 Release" (based on "Win32 (x86) Console Application") 21 | !MESSAGE 22 | 23 | # Begin Project 24 | # PROP AllowPerConfigDependencies 0 25 | # PROP Scc_ProjName "" 26 | # PROP Scc_LocalPath "" 27 | CPP=cl.exe 28 | RSC=rc.exe 29 | # PROP Use_MFC 0 30 | # PROP Use_Debug_Libraries 0 31 | # PROP Output_Dir "" 32 | # PROP Intermediate_Dir "Release\piddle" 33 | # PROP Ignore_Export_Lib 0 34 | # PROP Target_Dir "" 35 | LIB32=link.exe -lib 36 | MTL=midl.exe 37 | # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 38 | # ADD CPP /nologo /MD /W3 /GX /Zi /O2 /I "..\\" /I "..\include" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D "_VISUALC_" /D "NeedFunctionPrototypes" /D "_DLL" /D "_MAGICKMOD_" /FD /c 39 | # ADD BASE RSC /l 0x409 40 | # ADD RSC /l 0x409 /d "NDEBUG" 41 | BSC32=bscmake.exe 42 | # ADD BSC32 /nologo 43 | LINK32=link.exe 44 | # ADD BASE LINK32 /machine:IX86 45 | # ADD LINK32 CORE_RL_magick_.lib CORE_RL_Magick++_.lib kernel32.lib user32.lib gdi32.lib odbc32.lib odbccp32.lib ole32.lib oleaut32.lib winmm.lib wsock32.lib advapi32.lib /nologo /subsystem:console /debug /machine:I386 /libpath:"..\lib\\" /libpath:"..\lib" 46 | # SUBTRACT LINK32 /pdb:none 47 | # Begin Target 48 | 49 | # Name "piddle - Win32 Release" 50 | # Begin Group "src" 51 | 52 | # PROP Default_Filter "" 53 | # Begin Source File 54 | 55 | SOURCE="piddle.cpp" 56 | # End Source File 57 | # End Group 58 | # Begin Group "include" 59 | 60 | # PROP Default_Filter "" 61 | # End Group 62 | # End Target 63 | # End Project 64 | -------------------------------------------------------------------------------- /Installer/Inno/Magick++_Demo/run_demos.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | set srcdir=.\ 3 | set bindir=.\ 4 | set outdir=.\ 5 | set PATH=%bindir%;%PATH% 6 | 7 | echo button ... 8 | %bindir%button.exe 9 | 10 | echo executing demo ... 11 | %bindir%demo.exe 12 | 13 | echo executing flip ... 14 | %bindir%flip.exe 15 | 16 | echo executing gravity ... 17 | %bindir%gravity.exe 18 | 19 | echo executing piddle ... 20 | %bindir%piddle.exe 21 | 22 | echo executing shapes ... 23 | %bindir%shapes.exe 24 | 25 | echo executing zoom -filter point -geometry 600x600 model.miff zoom_point_out.miff 26 | %bindir%zoom.exe -filter point -geometry 600x600 %srcdir%\model.miff %outdir%zoom_point_out.miff 27 | 28 | echo executing zoom -filter box -geometry 600x600 model.miff zoom_box_out.miff 29 | %bindir%zoom.exe -filter box -geometry 600x600 %srcdir%\model.miff %outdir%zoom_box_out.miff 30 | 31 | echo executing zoom -filter triangle -geometry 600x600 model.miff zoom_triangle_out.miff 32 | %bindir%zoom.exe -filter triangle -geometry 600x600 %srcdir%\model.miff %outdir%zoom_triangle_out.miff 33 | 34 | echo executing hermite -geometry 600x600 model.miff zoom_hermite_out.miff 35 | %bindir%zoom.exe -filter hermite -geometry 600x600 %srcdir%\model.miff %outdir%zoom_hermite_out.miff 36 | 37 | echo zoom -filter hanning -geometry 600x600 model.miff zoom_hanning_out.miff 38 | %bindir%zoom.exe -filter hanning -geometry 600x600 %srcdir%\model.miff %outdir%zoom_hanning_out.miff 39 | 40 | echo zoom -filter hamming -geometry 600x600 model.miff zoom_hamming_out.miff 41 | %bindir%zoom.exe -filter hamming -geometry 600x600 %srcdir%\model.miff %outdir%zoom_hamming_out.miff 42 | 43 | echo zoom -filter blackman -geometry 600x600 model.miff zoom_blackman_out.miff 44 | %bindir%zoom.exe -filter blackman -geometry 600x600 %srcdir%\model.miff %outdir%zoom_blackman_out.miff 45 | 46 | echo zoom -filter gaussian -geometry 600x600 model.miff zoom_gaussian_out.miff 47 | %bindir%zoom.exe -filter gaussian -geometry 600x600 %srcdir%\model.miff %outdir%zoom_gaussian_out.miff 48 | 49 | echo zoom -filter quadratic -geometry 600x600 model.miff zoom_quadratic_out.miff 50 | %bindir%zoom.exe -filter quadratic -geometry 600x600 %srcdir%\model.miff %outdir%zoom_quadratic_out.miff 51 | 52 | echo zoom -filter cubic -geometry 600x600 model.miff zoom_cubic_out.miff 53 | %bindir%zoom.exe -filter cubic -geometry 600x600 %srcdir%\model.miff %outdir%zoom_cubic_out.miff 54 | 55 | echo zoom -filter catrom -geometry 600x600 model.miff zoom_catrm_out.miff 56 | %bindir%zoom.exe -filter catrom -geometry 600x600 %srcdir%\model.miff %outdir%zoom_catrm_out.miff 57 | 58 | echo zoom -filter mitchell -geometry 600x600 model.miff zoom_mitchell_out.miff 59 | %bindir%zoom.exe -filter mitchell -geometry 600x600 %srcdir%\model.miff %outdir%zoom_mitchell_out.miff 60 | 61 | echo zoom -filter lanczos -geometry 600x600 model.miff zoom_lanczos_out.miff 62 | %bindir%zoom.exe -filter lanczos -geometry 600x600 %srcdir%\model.miff %outdir%zoom_lanczos_out.miff 63 | 64 | echo zoom -filter bessel -geometry 600x600 model.miff zoom_bessel_out.miff 65 | %bindir%zoom.exe -filter bessel -geometry 600x600 %srcdir%\model.miff %outdir%zoom_bessel_out.miff 66 | 67 | echo zoom -filter sinc -geometry 600x600 model.miff zoom_sinc_out.miff 68 | %bindir%zoom.exe -filter sinc -geometry 600x600 %srcdir%\model.miff %outdir%zoom_sinc_out.miff 69 | 70 | 71 | -------------------------------------------------------------------------------- /Installer/Inno/Magick++_Demo/shapes.dsp: -------------------------------------------------------------------------------- 1 | # Microsoft Developer Studio Project File - Name="shapes" - Package Owner=<4> 2 | # Microsoft Developer Studio Generated Build File, Format Version 6.00 3 | # ** DO NOT EDIT ** 4 | 5 | # TARGTYPE "Win32 (x86) Console Application" 0x0103 6 | 7 | CFG=shapes - Win32 Release 8 | !MESSAGE This is not a valid makefile. To build this project using NMAKE, 9 | !MESSAGE use the Export Makefile command and run 10 | !MESSAGE 11 | !MESSAGE NMAKE /f "shapes.mak". 12 | !MESSAGE 13 | !MESSAGE You can specify a configuration when running NMAKE 14 | !MESSAGE by defining the macro CFG on the command line. For example: 15 | !MESSAGE 16 | !MESSAGE NMAKE /f "shapes.mak" CFG="shapes - Win32 Release" 17 | !MESSAGE 18 | !MESSAGE Possible choices for configuration are: 19 | !MESSAGE 20 | !MESSAGE "shapes - Win32 Release" (based on "Win32 (x86) Console Application") 21 | !MESSAGE 22 | 23 | # Begin Project 24 | # PROP AllowPerConfigDependencies 0 25 | # PROP Scc_ProjName "" 26 | # PROP Scc_LocalPath "" 27 | CPP=cl.exe 28 | RSC=rc.exe 29 | # PROP Use_MFC 0 30 | # PROP Use_Debug_Libraries 0 31 | # PROP Output_Dir "" 32 | # PROP Intermediate_Dir "Release\shapes" 33 | # PROP Ignore_Export_Lib 0 34 | # PROP Target_Dir "" 35 | LIB32=link.exe -lib 36 | MTL=midl.exe 37 | # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 38 | # ADD CPP /nologo /MD /W3 /GX /Zi /O2 /I "..\\" /I "..\include" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D "_VISUALC_" /D "NeedFunctionPrototypes" /D "_DLL" /D "_MAGICKMOD_" /FD /c 39 | # ADD BASE RSC /l 0x409 40 | # ADD RSC /l 0x409 /d "NDEBUG" 41 | BSC32=bscmake.exe 42 | # ADD BSC32 /nologo 43 | LINK32=link.exe 44 | # ADD BASE LINK32 /machine:IX86 45 | # ADD LINK32 CORE_RL_magick_.lib CORE_RL_Magick++_.lib kernel32.lib user32.lib gdi32.lib odbc32.lib odbccp32.lib ole32.lib oleaut32.lib winmm.lib wsock32.lib advapi32.lib /nologo /subsystem:console /debug /machine:I386 /libpath:"..\lib\\" /libpath:"..\lib" 46 | # SUBTRACT LINK32 /pdb:none 47 | # Begin Target 48 | 49 | # Name "shapes - Win32 Release" 50 | # Begin Group "src" 51 | 52 | # PROP Default_Filter "" 53 | # Begin Source File 54 | 55 | SOURCE="shapes.cpp" 56 | # End Source File 57 | # End Group 58 | # Begin Group "include" 59 | 60 | # PROP Default_Filter "" 61 | # End Group 62 | # End Target 63 | # End Project 64 | -------------------------------------------------------------------------------- /Installer/Inno/Magick++_Demo/zoom.dsp: -------------------------------------------------------------------------------- 1 | # Microsoft Developer Studio Project File - Name="zoom" - Package Owner=<4> 2 | # Microsoft Developer Studio Generated Build File, Format Version 6.00 3 | # ** DO NOT EDIT ** 4 | 5 | # TARGTYPE "Win32 (x86) Console Application" 0x0103 6 | 7 | CFG=zoom - Win32 Release 8 | !MESSAGE This is not a valid makefile. To build this project using NMAKE, 9 | !MESSAGE use the Export Makefile command and run 10 | !MESSAGE 11 | !MESSAGE NMAKE /f "zoom.mak". 12 | !MESSAGE 13 | !MESSAGE You can specify a configuration when running NMAKE 14 | !MESSAGE by defining the macro CFG on the command line. For example: 15 | !MESSAGE 16 | !MESSAGE NMAKE /f "zoom.mak" CFG="zoom - Win32 Release" 17 | !MESSAGE 18 | !MESSAGE Possible choices for configuration are: 19 | !MESSAGE 20 | !MESSAGE "zoom - Win32 Release" (based on "Win32 (x86) Console Application") 21 | !MESSAGE 22 | 23 | # Begin Project 24 | # PROP AllowPerConfigDependencies 0 25 | # PROP Scc_ProjName "" 26 | # PROP Scc_LocalPath "" 27 | CPP=cl.exe 28 | RSC=rc.exe 29 | # PROP Use_MFC 0 30 | # PROP Use_Debug_Libraries 0 31 | # PROP Output_Dir "" 32 | # PROP Intermediate_Dir "Release\zoom" 33 | # PROP Ignore_Export_Lib 0 34 | # PROP Target_Dir "" 35 | LIB32=link.exe -lib 36 | MTL=midl.exe 37 | # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 38 | # ADD CPP /nologo /MD /W3 /GX /Zi /O2 /I "..\\" /I "..\include" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D "_VISUALC_" /D "NeedFunctionPrototypes" /D "_DLL" /D "_MAGICKMOD_" /FD /c 39 | # ADD BASE RSC /l 0x409 40 | # ADD RSC /l 0x409 /d "NDEBUG" 41 | BSC32=bscmake.exe 42 | # ADD BSC32 /nologo 43 | LINK32=link.exe 44 | # ADD BASE LINK32 /machine:IX86 45 | # ADD LINK32 CORE_RL_magick_.lib CORE_RL_Magick++_.lib kernel32.lib user32.lib gdi32.lib odbc32.lib odbccp32.lib ole32.lib oleaut32.lib winmm.lib wsock32.lib advapi32.lib /nologo /subsystem:console /debug /machine:I386 /libpath:"..\lib\\" /libpath:"..\lib" 46 | # SUBTRACT LINK32 /pdb:none 47 | # Begin Target 48 | 49 | # Name "zoom - Win32 Release" 50 | # Begin Group "src" 51 | 52 | # PROP Default_Filter "" 53 | # Begin Source File 54 | 55 | SOURCE="zoom.cpp" 56 | # End Source File 57 | # End Group 58 | # Begin Group "include" 59 | 60 | # PROP Default_Filter "" 61 | # End Group 62 | # End Target 63 | # End Project 64 | -------------------------------------------------------------------------------- /Installer/Inno/PathTool/PathTool.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/ImageMagick-Windows/925b29a5b8e3d3464c8eed214e9dfa2953599285/Installer/Inno/PathTool/PathTool.exe -------------------------------------------------------------------------------- /Installer/Inno/PathTool/README.txt: -------------------------------------------------------------------------------- 1 | The PathTool utility was written by by ared Breland 2 | and was retrieved from the URL "http://legroom.net/files/software/modpath.exe". 3 | 4 | -------------------------------------------------------------------------------- /Installer/Inno/PerlMagick-PPM.txt: -------------------------------------------------------------------------------- 1 | This directory contains PerlMagick built for Strawberry Perl. 2 | 3 | Installing PerlMagick 4 | ===================== 5 | 6 | Normally PerlMagick is installed via a checkbox in the ImageMagick 7 | setup program. If PerlMagick was not installed at that time, it may be 8 | installed from within this directory by executing the command 9 | 10 | ppm install Image-Magick.ppd 11 | 12 | You should see output similar to: 13 | 14 | Installing package 'Image-Magick.ppd'... 15 | Writing C:\Perl\site\lib\auto\Image\Magick\.packlist 16 | ...\PerlMagick> 17 | 18 | If you see the above, it means it's worked. If you get: 19 | 20 | ...\PerlMagick>>ppm install Image-Magick.ppd 21 | 'ppm' is not recognized as an internal or external command, 22 | operable program or batch file. 23 | ...\PerlMagick> 24 | 25 | it means your installation of Stawberry Perl isn't installed, or isn't 26 | configured properly - you need to make sure that the folder containing 27 | ppm.bat (usually c:\perl\bin) is in your system path. 28 | 29 | 30 | Uninstalling PerlMagick 31 | ======================= 32 | 33 | If PerlMagick was installed via ImageMagick's setup program, then it is 34 | automatically uninstalled when ImageMagick is uninstalled. If 35 | PerlMagick was installed manually, then it may be uninstalled via the 36 | following command: 37 | 38 | ppm remove Image-Magick 39 | 40 | 41 | Running the PerlMagick Demos 42 | ============================ 43 | 44 | The PerlMagick demos are available in the demo subdirectory. If you 45 | have a 'make' or 'nmake' program installed on your computer, then you 46 | may run the demos like: 47 | 48 | cd demo 49 | nmake 50 | 51 | If make is not available on your system, then you may still run the 52 | demos individually like: 53 | 54 | perl demo.pl 55 | perl button.pl 56 | perl shapes.pl 57 | perl piddle.pl 58 | perl tree.pl 59 | perl steganography.pl 60 | perl shadow_text.pl 61 | 62 | The output from each demo should be displayed to your screen. 63 | -------------------------------------------------------------------------------- /Installer/Inno/README.txt: -------------------------------------------------------------------------------- 1 | [ The files in this directory are to support the ImageMagick 2 | setup.exe-style installer package. The following are the instructions 3 | for how to build a Q:8 DLL-based distribution installer package 4 | using Visual Studio. ] 5 | 6 | Steps for building VisualMagick Distribution Package 7 | 8 | 0) Install prerequisite software 9 | 10 | a) Download and install the Inno Setup Compiler from 11 | "http://www.jrsoftware.org/isinfo.php". 12 | 13 | b) Download and install Strawberry Perl from http://www.strawberryperl.com. 14 | 15 | 1) Open workspace VisualMagick\configure\configure.sln by double-clicking 16 | from Windows Explorer. 17 | 18 | a) Select "Rebuild All" 19 | b) Run the configure program 20 | c) Select DLL build 21 | d) Check "Include all demo, test, appl, and contrib directories" 22 | e) Check "Use registry settings or hard-coded paths to locate installed components" 23 | f) Finish remaining configure wizard screens to complete. 24 | g) Close Visual Studio 25 | 26 | 2) Open workspace VisualMagick\VisualDynamicMT.sln by double-clicking from 27 | Windows Explorer or via Visual C++ dialog. 28 | 29 | a) Build -> "Rebuild All" 30 | 31 | 3) Open Windows Command Shell Window 32 | 33 | a) cd PerlMagick 34 | b) nmake clean (only if this is a rebuild) 35 | c) perl Makefile.nt 36 | d) nmake release 37 | 38 | NOTE: access to nmake requires that there be a path to it. Depending n 39 | how the install of Visual Studio was done, this may not be the case. 40 | Visual Studio provides a batch script in VC98\Bin called VCVARS32.BAT 41 | that can be used to do this manually after you open up a command 42 | prompt. 43 | 44 | 4) Open VisualMagick\installer\im-x86-dll-Q8.iss by double-clicking from 45 | Windows Explorer. 46 | 47 | a) File -> Compile 48 | b) Test install by clicking on green triangle 49 | 50 | 5) 51 | Distribution package is available as 52 | 53 | Artifacts\ImageMagick-7.X-X-X-Q8-dll.exe 54 | 55 | -------------------------------------------------------------------------------- /Installer/Inno/config.isx.in: -------------------------------------------------------------------------------- 1 | #define public MagickPackageName "@PACKAGE_NAME@" 2 | #define public MagickPackageVersion "@MAGICK_LIB_VERSION_TEXT@" 3 | #define public MagickPackageFullVersion "@PACKAGE_FULL_VERSION@" 4 | #define public MagickPackageFullVersionText "@MAGICK_LIB_VERSION_TEXT@@PACKAGE_VERSION_ADDENDUM@" 5 | #define public MagickPackageReleaseDate "@PACKAGE_RELEASE_DATE@" 6 | #define public QuantumDepth "@QUANTUM_DEPTH@" 7 | -------------------------------------------------------------------------------- /Installer/Inno/inc/body.isx: -------------------------------------------------------------------------------- 1 | #ifdef COPYRIGHT 2 | ; Copyright @ 1999 ImageMagick Studio LLC, a non-profit organization 3 | ; dedicated to making software imaging solutions freely available. 4 | ; 5 | ; You may not use this file except in compliance with the License. You may 6 | ; obtain a copy of the License at 7 | ; 8 | ; https://imagemagick.org/script/license.php 9 | ; 10 | ; Unless required by applicable law or agreed to in writing, software 11 | ; distributed under the License is distributed on an "AS IS" BASIS, 12 | ; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | ; See the License for the specific language governing permissions and 14 | ; limitations under the License. 15 | ; 16 | ; Copyright (C) 2003 - 2008 GraphicsMagick Group 17 | #endif 18 | 19 | #ifdef MagickStaticPackage 20 | #define MagickPackageType "static" 21 | #define MagickAppDirectory "{app}" 22 | #define MagickLibDirectory "{app}" 23 | #define MagickConfigDirectory "{app}" 24 | #else 25 | #define MagickPackageType "dll" 26 | #define MagickAppDirectory "{app}" 27 | #define MagickLibDirectory "{app}" 28 | #define MagickConfigDirectory "{app}" 29 | #define MagickCodersDirectory "{app}\modules\coders" 30 | #define MagickFiltersDirectory "{app}\modules\filters" 31 | #endif 32 | 33 | [Setup] 34 | #include "setup.isx" 35 | 36 | ; Optional Tasks 37 | [Tasks] 38 | #include "tasks-update-path.isx" 39 | #ifdef MagickDynamicPackage 40 | #ifdef MagickVersion7 41 | #include "tasks-legacy.isx" 42 | #endif 43 | #include "tasks-install-devel.isx" 44 | #endif 45 | #ifdef MagickPerlMagick 46 | #include "tasks-install-perlmagick.isx" 47 | #endif 48 | 49 | 50 | ; Windows registry settings 51 | [Registry] 52 | #include "registry-application.isx" 53 | 54 | [Files] 55 | #include "files-base.isx" 56 | #include "files-configs.isx" 57 | #include "files-documentation.isx" 58 | #include "files-licenses.isx" 59 | #include "files-dlls.isx" 60 | #ifdef MagickPerlMagick 61 | #include "files-perlmagick.isx" 62 | #endif 63 | #ifdef MagickDynamicPackage 64 | #include "files-development.isx" 65 | #endif 66 | 67 | [Icons] 68 | #include "icons-associate.isx" 69 | 70 | [Run] 71 | #include "run-pathtool.isx" 72 | #ifdef MagickPerlMagick 73 | #include "run-ppm.isx" 74 | #endif 75 | 76 | [UninstallRun] 77 | #include "uninstallrun-pathtool.isx" 78 | #ifdef MagickPerlMagick 79 | #include "uninstallrun-ppm.isx" 80 | #endif 81 | 82 | [Code] 83 | function ModPathDir(): TArrayOfString; 84 | var 85 | Dir: TArrayOfString; 86 | begin 87 | setArrayLength(Dir, 1) 88 | Dir[0] := ExpandConstant('{app}'); 89 | Result := Dir; 90 | end; 91 | #include "modpath.iss" 92 | -------------------------------------------------------------------------------- /Installer/Inno/inc/files-base.isx: -------------------------------------------------------------------------------- 1 | #ifdef COPYRIGHT 2 | ; Copyright 1999-2018 ImageMagick Studio LLC, a non-profit organization 3 | ; dedicated to making software imaging solutions freely available. 4 | ; 5 | ; You may not use this file except in compliance with the License. You may 6 | ; obtain a copy of the License at 7 | ; 8 | ; http://www.imagemagick.org/script/license.php 9 | ; 10 | ; Unless required by applicable law or agreed to in writing, software 11 | ; distributed under the License is distributed on an "AS IS" BASIS, 12 | ; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | ; See the License for the specific language governing permissions and 14 | ; limitations under the License. 15 | ; 16 | ; Copyright (C) 2003 - 2008 GraphicsMagick Group 17 | #endif 18 | 19 | ; Executables 20 | #ifdef MagickVersion7 21 | Source: "..\..\Artifacts\bin\magick.exe"; DestDir: {#MagickAppDirectory}; Flags: ignoreversion 22 | #ifdef MagickDynamicPackage 23 | Source: "..\..\Artifacts\bin\compare.exe"; DestDir: {#MagickAppDirectory}; Tasks: legacy_support; Flags: ignoreversion 24 | Source: "..\..\Artifacts\bin\composite.exe"; DestDir: {#MagickAppDirectory}; Tasks: legacy_support; Flags: ignoreversion 25 | Source: "..\..\Artifacts\bin\conjure.exe"; DestDir: {#MagickAppDirectory}; Tasks: legacy_support; Flags: ignoreversion 26 | Source: "..\..\Artifacts\bin\identify.exe"; DestDir: {#MagickAppDirectory}; Tasks: legacy_support; Flags: ignoreversion 27 | Source: "..\..\Artifacts\bin\mogrify.exe"; DestDir: {#MagickAppDirectory}; Tasks: legacy_support; Flags: ignoreversion 28 | Source: "..\..\Artifacts\bin\montage.exe"; DestDir: {#MagickAppDirectory}; Tasks: legacy_support; Flags: ignoreversion 29 | Source: "..\..\Artifacts\bin\stream.exe"; DestDir: {#MagickAppDirectory}; Tasks: legacy_support; Flags: ignoreversion 30 | #endif 31 | #else 32 | Source: "..\..\Artifacts\bin\convert.exe"; DestDir: {#MagickAppDirectory}; Flags: ignoreversion 33 | Source: "..\..\Artifacts\bin\compare.exe"; DestDir: {#MagickAppDirectory}; Flags: ignoreversion 34 | Source: "..\..\Artifacts\bin\composite.exe"; DestDir: {#MagickAppDirectory}; Flags: ignoreversion 35 | Source: "..\..\Artifacts\bin\conjure.exe"; DestDir: {#MagickAppDirectory}; Flags: ignoreversion 36 | Source: "..\..\Artifacts\bin\identify.exe"; DestDir: {#MagickAppDirectory}; Flags: ignoreversion 37 | Source: "..\..\Artifacts\bin\mogrify.exe"; DestDir: {#MagickAppDirectory}; Flags: ignoreversion 38 | Source: "..\..\Artifacts\bin\montage.exe"; DestDir: {#MagickAppDirectory}; Flags: ignoreversion 39 | Source: "..\..\Artifacts\bin\stream.exe"; DestDir: {#MagickAppDirectory}; Flags: ignoreversion 40 | #endif 41 | 42 | ; Path Tool 43 | Source: "PathTool\PathTool.exe"; DestDir: "{app}\uninstall"; Flags: ignoreversion 44 | 45 | ; Icon file 46 | Source: "..\..\ImageMagick\images\ImageMagick.ico"; DestDir: {#MagickAppDirectory}; Flags: ignoreversion 47 | -------------------------------------------------------------------------------- /Installer/Inno/inc/files-configs.isx: -------------------------------------------------------------------------------- 1 | #ifdef COPYRIGHT 2 | ; Copyright @ 1999 ImageMagick Studio LLC, a non-profit organization 3 | ; dedicated to making software imaging solutions freely available. 4 | ; 5 | ; You may not use this file except in compliance with the License. You may 6 | ; obtain a copy of the License at 7 | ; 8 | ; https://imagemagick.org/script/license.php 9 | ; 10 | ; Unless required by applicable law or agreed to in writing, software 11 | ; distributed under the License is distributed on an "AS IS" BASIS, 12 | ; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | ; See the License for the specific language governing permissions and 14 | ; limitations under the License. 15 | ; 16 | ; Copyright (C) 2003 - 2008 GraphicsMagick Group 17 | #endif 18 | 19 | ; Configuration files 20 | Source: "..\..\Artifacts\bin\colors.xml"; DestDir: {#MagickConfigDirectory}; Flags: confirmoverwrite 21 | Source: "..\..\Artifacts\bin\configure.xml"; DestDir: {#MagickConfigDirectory}; Flags: confirmoverwrite 22 | Source: "..\..\Artifacts\bin\english.xml"; DestDir: {#MagickConfigDirectory}; Flags: confirmoverwrite 23 | Source: "..\..\Artifacts\bin\delegates.xml"; DestDir: {#MagickConfigDirectory}; Flags: confirmoverwrite 24 | Source: "..\..\Artifacts\bin\locale.xml"; DestDir: {#MagickConfigDirectory}; Flags: confirmoverwrite 25 | Source: "..\..\Artifacts\bin\log.xml"; DestDir: {#MagickConfigDirectory}; Flags: confirmoverwrite 26 | Source: "..\..\Artifacts\bin\mime.xml"; DestDir: {#MagickConfigDirectory}; Flags: confirmoverwrite 27 | Source: "..\..\Artifacts\bin\policy.xml"; DestDir: {#MagickConfigDirectory}; Flags: confirmoverwrite 28 | Source: "..\..\Artifacts\bin\sRGB.icc"; DestDir: {#MagickConfigDirectory}; Flags: confirmoverwrite 29 | Source: "..\..\Artifacts\bin\thresholds.xml"; DestDir: {#MagickConfigDirectory}; Flags: confirmoverwrite 30 | Source: "..\..\Artifacts\bin\type.xml"; DestDir: {#MagickConfigDirectory}; Flags: confirmoverwrite 31 | Source: "..\..\Artifacts\bin\type-ghostscript.xml"; DestDir: {#MagickConfigDirectory}; Flags: confirmoverwrite 32 | -------------------------------------------------------------------------------- /Installer/Inno/inc/files-development.isx: -------------------------------------------------------------------------------- 1 | #ifdef COPYRIGHT 2 | ; Copyright @ 1999 ImageMagick Studio LLC, a non-profit organization 3 | ; dedicated to making software imaging solutions freely available. 4 | ; 5 | ; You may not use this file except in compliance with the License. You may 6 | ; obtain a copy of the License at 7 | ; 8 | ; https://imagemagick.org/script/license.php 9 | ; 10 | ; Unless required by applicable law or agreed to in writing, software 11 | ; distributed under the License is distributed on an "AS IS" BASIS, 12 | ; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | ; See the License for the specific language governing permissions and 14 | ; limitations under the License. 15 | ; 16 | ; Copyright (C) 2003 - 2008 GraphicsMagick Group 17 | #endif 18 | 19 | ; Development libraries 20 | Source: "..\..\Artifacts\lib\CORE_RL_Magick++_.lib"; DestDir: "{app}\lib"; Tasks: install_Devel; Flags: ignoreversion 21 | #ifdef MagickVersion7 22 | Source: "..\..\Artifacts\lib\CORE_RL_MagickCore_.lib"; DestDir: "{app}\lib"; Tasks: install_Devel; Flags: ignoreversion 23 | Source: "..\..\Artifacts\lib\CORE_RL_MagickWand_.lib"; DestDir: "{app}\lib"; Tasks: install_Devel; Flags: ignoreversion 24 | #else 25 | Source: "..\..\Artifacts\lib\CORE_RL_magick_.lib"; DestDir: "{app}\lib"; Tasks: install_Devel; Flags: ignoreversion 26 | Source: "..\..\Artifacts\lib\CORE_RL_wand_.lib"; DestDir: "{app}\lib"; Tasks: install_Devel; Flags: ignoreversion 27 | #endif 28 | ; Development headers 29 | #ifdef MagickVersion7 30 | Source: "..\..\ImageMagick\MagickCore\*.h"; DestDir: "{app}\include\MagickCore"; Tasks: install_Devel; Flags: ignoreversion 31 | #else 32 | Source: "..\..\ImageMagick\magick\*.h"; DestDir: "{app}\include\magick"; Tasks: install_Devel; Flags: ignoreversion 33 | #endif 34 | ; MagickWand headers 35 | #ifdef MagickVersion7 36 | Source: "..\..\ImageMagick\MagickWand\*.h"; DestDir: "{app}\include\MagickWand"; Tasks: install_Devel; Flags: ignoreversion 37 | #else 38 | Source: "..\..\ImageMagick\wand\*.h"; DestDir: "{app}\include\wand"; Tasks: install_Devel; Flags: ignoreversion 39 | #endif 40 | ; Magick++ headers 41 | Source: "..\..\ImageMagick\Magick++\lib\Magick++.h"; DestDir: "{app}\include"; Tasks: install_Devel; Flags: ignoreversion 42 | Source: "..\..\ImageMagick\Magick++\lib\Magick++\*.h"; DestDir: "{app}\include\Magick++"; Tasks: install_Devel; Flags: ignoreversion 43 | ; Magick++ demos 44 | Source: "Magick++_Demo\*.dsw"; DestDir: "{app}\Magick++_Demo"; Tasks: install_Devel; Flags: ignoreversion 45 | Source: "Magick++_Demo\*.dsp"; DestDir: "{app}\Magick++_Demo"; Tasks: install_Devel; Flags: ignoreversion 46 | Source: "Magick++_Demo\*.bat"; DestDir: "{app}\Magick++_Demo"; Tasks: install_Devel; Flags: ignoreversion 47 | Source: "Magick++_Demo\README.txt"; DestDir: "{app}\Magick++_Demo"; Tasks: install_Devel; Flags: ignoreversion 48 | Source: "..\..\ImageMagick\Magick++\demo\*.cpp"; DestDir: "{app}\Magick++_Demo"; Tasks: install_Devel; Flags: ignoreversion 49 | Source: "..\..\ImageMagick\Magick++\demo\*.miff"; DestDir: "{app}\Magick++_Demo"; Tasks: install_Devel; Flags: ignoreversion 50 | -------------------------------------------------------------------------------- /Installer/Inno/inc/files-dlls.isx: -------------------------------------------------------------------------------- 1 | #ifdef COPYRIGHT 2 | ; Copyright @ 1999 ImageMagick Studio LLC, a non-profit organization 3 | ; dedicated to making software imaging solutions freely available. 4 | ; 5 | ; You may not use this file except in compliance with the License. You may 6 | ; obtain a copy of the License at 7 | ; 8 | ; https://imagemagick.org/script/license.php 9 | ; 10 | ; Unless required by applicable law or agreed to in writing, software 11 | ; distributed under the License is distributed on an "AS IS" BASIS, 12 | ; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | ; See the License for the specific language governing permissions and 14 | ; limitations under the License. 15 | ; 16 | ; Copyright (C) 2003 - 2008 GraphicsMagick Group 17 | #endif 18 | 19 | #define MSVCRedist GetEnv('VCToolsRedistDir') 20 | 21 | #ifdef Magick64BitArchitecture 22 | #define public MagickArchitecture "x64" 23 | #else 24 | #ifdef MagickArm64Architecture 25 | #define public MagickArchitecture "arm64" 26 | #else 27 | #define public MagickArchitecture "x86" 28 | #endif 29 | #endif 30 | 31 | ; 32 | ; MSVC Runtime DLLs. 33 | ; 34 | ; C runtime 35 | Source: {#MSVCRedist}\{#MagickArchitecture}\Microsoft.VC143.CRT\vcruntime14*.dll; DestDir: {#MagickLibDirectory}; Flags: ignoreversion 36 | 37 | ; C++ standard runtime 38 | Source: {#MSVCRedist}\{#MagickArchitecture}\Microsoft.VC143.CRT\msvcp14*.dll; DestDir: {#MagickLibDirectory}; Flags: ignoreversion 39 | 40 | ; OpenMP runtime 41 | Source: {#MSVCRedist}\{#MagickArchitecture}\Microsoft.VC143.OPENMP\vcomp140.dll; DestDir: {#MagickLibDirectory}; Flags: ignoreversion 42 | 43 | ; MFC C++ runtime 44 | Source: {#MSVCRedist}\{#MagickArchitecture}\Microsoft.VC143.MFC\mfc140u.dll; DestDir: {#MagickLibDirectory}; Flags: ignoreversion 45 | 46 | ; DLLs 47 | #ifdef MagickDynamicPackage 48 | Source: "..\..\Artifacts\bin\CORE_RL*.dll"; DestDir: {#MagickLibDirectory}; Flags: ignoreversion 49 | Source: "..\..\Artifacts\bin\IM_MOD_RL*.dll"; DestDir: {#MagickCodersDirectory}; Flags: ignoreversion 50 | Source: "..\..\Artifacts\bin\FILTER_*.dll"; DestDir: {#MagickFiltersDirectory}; Flags: ignoreversion 51 | #endif 52 | -------------------------------------------------------------------------------- /Installer/Inno/inc/files-documentation.isx: -------------------------------------------------------------------------------- 1 | #ifdef COPYRIGHT 2 | ; Copyright @ 1999 ImageMagick Studio LLC, a non-profit organization 3 | ; dedicated to making software imaging solutions freely available. 4 | ; 5 | ; You may not use this file except in compliance with the License. You may 6 | ; obtain a copy of the License at 7 | ; 8 | ; https://imagemagick.org/script/license.php 9 | ; 10 | ; Unless required by applicable law or agreed to in writing, software 11 | ; distributed under the License is distributed on an "AS IS" BASIS, 12 | ; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | ; See the License for the specific language governing permissions and 14 | ; limitations under the License. 15 | ; 16 | ; Copyright (C) 2003 - 2008 GraphicsMagick Group 17 | #endif 18 | 19 | ; Release documentation files 20 | Source: "..\..\ImageMagick\ChangeLog.md"; DestDir: "{app}"; Flags: ignoreversion; DestName: "ChangeLog.md" 21 | Source: "..\..\ImageMagick\LICENSE"; DestDir: "{app}"; Flags: ignoreversion; DestName: "License.txt" 22 | Source: "..\..\Artifacts\NOTICE.txt"; DestDir: "{app}"; Flags: ignoreversion; 23 | ; Web pages 24 | Source: "..\..\ImageMagick\index.html"; DestDir: "{app}"; Flags: ignoreversion isreadme 25 | Source: "..\..\ImageMagick\images\*.gif"; DestDir: "{app}\images"; Flags: ignoreversion 26 | Source: "..\..\ImageMagick\images\*.ico"; DestDir: "{app}\images"; Flags: ignoreversion 27 | Source: "..\..\ImageMagick\images\*.jpg"; DestDir: "{app}\images"; Flags: ignoreversion 28 | Source: "..\..\ImageMagick\images\*.png"; DestDir: "{app}\images"; Flags: ignoreversion 29 | Source: "..\..\ImageMagick\images\patterns\*.png"; DestDir: "{app}\images\patterns"; Flags: ignoreversion 30 | Source: "..\..\ImageMagick\www\source\*.*"; DestDir: "{app}\www\source"; Flags: ignoreversion 31 | Source: "..\..\ImageMagick\www\assets\*.*"; DestDir: "{app}\www\assets"; Flags: ignoreversion 32 | Source: "..\..\ImageMagick\www\*.ico"; DestDir: "{app}\www"; Flags: ignoreversion 33 | Source: "..\..\ImageMagick\www\*.html"; DestDir: "{app}\www"; Flags: ignoreversion 34 | Source: "..\..\ImageMagick\www\Magick++\*.html"; DestDir: "{app}\www\Magick++"; Flags: ignoreversion 35 | Source: "..\..\ImageMagick\www\Magick++\*.jpg"; DestDir: "{app}\www\Magick++"; Flags: ignoreversion 36 | Source: "..\..\ImageMagick\www\Magick++\*.png"; DestDir: "{app}\www\Magick++"; Flags: ignoreversion 37 | Source: "..\..\ImageMagick\www\Magick++\COPYING"; DestDir: "{app}\www\Magick++"; Flags: ignoreversion; DestName: "Copyright.txt" 38 | Source: "..\..\ImageMagick\www\Magick++\README.txt"; DestDir: "{app}\www\Magick++"; Flags: ignoreversion 39 | Source: "..\..\ImageMagick\www\api\*.html"; DestDir: "{app}\www\api"; Flags: ignoreversion 40 | -------------------------------------------------------------------------------- /Installer/Inno/inc/files-licenses.isx: -------------------------------------------------------------------------------- 1 | #ifdef COPYRIGHT 2 | ; Copyright @ 1999 ImageMagick Studio LLC, a non-profit organization 3 | ; dedicated to making software imaging solutions freely available. 4 | ; 5 | ; You may not use this file except in compliance with the License. You may 6 | ; obtain a copy of the License at 7 | ; 8 | ; https://imagemagick.org/script/license.php 9 | ; 10 | ; Unless required by applicable law or agreed to in writing, software 11 | ; distributed under the License is distributed on an "AS IS" BASIS, 12 | ; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | ; See the License for the specific language governing permissions and 14 | ; limitations under the License. 15 | ; 16 | ; Copyright (C) 2003 - 2008 GraphicsMagick Group 17 | #endif 18 | 19 | ; Delegate library licenses 20 | -------------------------------------------------------------------------------- /Installer/Inno/inc/files-perlmagick.isx: -------------------------------------------------------------------------------- 1 | #ifdef COPYRIGHT 2 | ; Copyright @ 1999 ImageMagick Studio LLC, a non-profit organization 3 | ; dedicated to making software imaging solutions freely available. 4 | ; 5 | ; You may not use this file except in compliance with the License. You may 6 | ; obtain a copy of the License at 7 | ; 8 | ; https://imagemagick.org/script/license.php 9 | ; 10 | ; Unless required by applicable law or agreed to in writing, software 11 | ; distributed under the License is distributed on an "AS IS" BASIS, 12 | ; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | ; See the License for the specific language governing permissions and 14 | ; limitations under the License. 15 | ; 16 | ; Copyright (C) 2003 - 2008 GraphicsMagick Group 17 | #endif 18 | 19 | #ifdef Magick64BitArchitecture 20 | #define public MagickArchitecture "x64" 21 | #else 22 | #define public MagickArchitecture "x86" 23 | #endif 24 | 25 | ; PerlMagick Perl module 26 | Source: "..\..\ImageMagick\PerlMagick\Image-Magick.ppd"; DestDir: "{app}\PerlMagick"; Tasks: install_PerlMagick; Flags: ignoreversion 27 | Source: "..\..\ImageMagick\PerlMagick\{#MagickArchitecture}\Image-Magick.zip"; DestDir: "{app}\PerlMagick\{#MagickArchitecture}"; Tasks: install_PerlMagick; Flags: ignoreversion 28 | Source: "..\..\ImageMagick\PerlMagick\demo\*"; DestDir: "{app}\PerlMagick\demo"; Tasks: install_PerlMagick; Flags: ignoreversion 29 | Source: "PerlMagick-PPM.txt"; DestDir: "{app}\PerlMagick"; DestName: "README.txt"; Tasks: install_PerlMagick; Flags: ignoreversion 30 | -------------------------------------------------------------------------------- /Installer/Inno/inc/icons-associate.isx: -------------------------------------------------------------------------------- 1 | #ifdef COPYRIGHT 2 | ; Copyright @ 1999 ImageMagick Studio LLC, a non-profit organization 3 | ; dedicated to making software imaging solutions freely available. 4 | ; 5 | ; You may not use this file except in compliance with the License. You may 6 | ; obtain a copy of the License at 7 | ; 8 | ; https://imagemagick.org/script/license.php 9 | ; 10 | ; Unless required by applicable law or agreed to in writing, software 11 | ; distributed under the License is distributed on an "AS IS" BASIS, 12 | ; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | ; See the License for the specific language governing permissions and 14 | ; limitations under the License. 15 | ; 16 | ; Copyright (C) 2003 - 2008 GraphicsMagick Group 17 | #endif 18 | 19 | Name: "{group}\ImageMagick Web Pages"; Filename: "{app}\index.html" 20 | ; Name: "{group}\ImageMagick Readme"; Filename: "{app}\README.txt" 21 | ; Name: "{group}\ImageMagick Quick Start"; Filename: "{app}\QuickStart.txt" 22 | ; Name: "{group}\ImageMagick License"; Filename: "{app}\License.txt" 23 | -------------------------------------------------------------------------------- /Installer/Inno/inc/modpath.iss: -------------------------------------------------------------------------------- 1 | // ---------------------------------------------------------------------------- 2 | // 3 | // Inno Setup Ver: 5.2.1 4 | // Script Version: 1.3.1 5 | // Author: Jared Breland 6 | // Homepage: http://www.legroom.net/software 7 | // 8 | // Script Function: 9 | // Enable modification of system path directly from Inno Setup installers 10 | // 11 | // Instructions: 12 | // Copy modpath.iss to the same directory as your setup script 13 | // 14 | // Add this statement to your [Setup] section 15 | // ChangesEnvironment=yes 16 | // 17 | // Add this statement to your [Tasks] section 18 | // You can change the Description or Flags, but the Name must be modifypath 19 | // Name: modifypath; Description: &Add application directory to your system path; Flags: unchecked 20 | // 21 | // Add the following to the end of your [Code] section 22 | // setArrayLength must specify the total number of dirs to be added 23 | // Dir[0] contains first directory, Dir[1] contains second, etc. 24 | // function ModPathDir(): TArrayOfString; 25 | // var 26 | // Dir: TArrayOfString; 27 | // begin 28 | // setArrayLength(Dir, 1) 29 | // Dir[0] := ExpandConstant('{app}'); 30 | // Result := Dir; 31 | // end; 32 | // #include "modpath.iss" 33 | // ---------------------------------------------------------------------------- 34 | 35 | procedure ModPath(); 36 | var 37 | oldpath: String; 38 | newpath: String; 39 | pathArr: TArrayOfString; 40 | aExecFile: String; 41 | aExecArr: TArrayOfString; 42 | i, d: Integer; 43 | pathdir: TArrayOfString; 44 | begin 45 | 46 | // Get array of new directories and act on each individually 47 | pathdir := ModPathDir(); 48 | for d := 0 to GetArrayLength(pathdir)-1 do begin 49 | 50 | // Modify WinNT path 51 | if UsingWinNT() = true then begin 52 | 53 | // Get current path, split into an array 54 | RegQueryStringValue(HKEY_LOCAL_MACHINE, 'SYSTEM\CurrentControlSet\Control\Session Manager\Environment', 'Path', oldpath); 55 | oldpath := oldpath + ';'; 56 | i := 0; 57 | while (Pos(';', oldpath) > 0) do begin 58 | SetArrayLength(pathArr, i+1); 59 | pathArr[i] := Copy(oldpath, 0, Pos(';', oldpath)-1); 60 | oldpath := Copy(oldpath, Pos(';', oldpath)+1, Length(oldpath)); 61 | i := i + 1; 62 | 63 | // Check if current directory matches app dir 64 | if pathdir[d] = pathArr[i-1] then begin 65 | // if uninstalling, remove dir from path 66 | if IsUninstaller() = true then begin 67 | continue; 68 | // if installing, abort because dir was already in path 69 | end else begin 70 | abort; 71 | end; 72 | end; 73 | 74 | // Add current directory to new path 75 | if i = 1 then begin 76 | newpath := pathArr[i-1]; 77 | end else begin 78 | newpath := newpath + ';' + pathArr[i-1]; 79 | end; 80 | end; 81 | 82 | // Append app dir to path if not already included 83 | if IsUninstaller() = false then 84 | newpath := pathdir[d] + ';' + newpath; 85 | 86 | // Write new path 87 | RegWriteStringValue(HKEY_LOCAL_MACHINE, 'SYSTEM\CurrentControlSet\Control\Session Manager\Environment', 'Path', newpath); 88 | 89 | // Modify Win9x path 90 | end else begin 91 | 92 | // Convert to shortened dirname 93 | pathdir[d] := GetShortName(pathdir[d]); 94 | 95 | // If autoexec.bat exists, check if app dir already exists in path 96 | aExecFile := 'C:\AUTOEXEC.BAT'; 97 | if FileExists(aExecFile) then begin 98 | LoadStringsFromFile(aExecFile, aExecArr); 99 | for i := 0 to GetArrayLength(aExecArr)-1 do begin 100 | if IsUninstaller() = false then begin 101 | // If app dir already exists while installing, abort add 102 | if (Pos(pathdir[d], aExecArr[i]) > 0) then 103 | abort; 104 | end else begin 105 | // If app dir exists and = what we originally set, then delete at uninstall 106 | if aExecArr[i] = 'SET PATH=%PATH%;' + pathdir[d] then 107 | aExecArr[i] := ''; 108 | end; 109 | end; 110 | end; 111 | 112 | // If app dir not found, or autoexec.bat didn't exist, then (create and) append to current path 113 | if IsUninstaller() = false then begin 114 | SaveStringToFile(aExecFile, #13#10 + 'SET PATH=%PATH%;' + pathdir[d], True); 115 | 116 | // If uninstalling, write the full autoexec out 117 | end else begin 118 | SaveStringsToFile(aExecFile, aExecArr, False); 119 | end; 120 | end; 121 | end; 122 | end; 123 | 124 | procedure CurStepChanged(CurStep: TSetupStep); 125 | begin 126 | if CurStep = ssPostInstall then 127 | if WizardIsTaskSelected('modifypath') then 128 | ModPath(); 129 | end; 130 | 131 | procedure CurUninstallStepChanged(CurUninstallStep: TUninstallStep); 132 | begin 133 | if CurUninstallStep = usUninstall then begin 134 | ModPath(); 135 | end; 136 | end; 137 | 138 | function NeedRestart(): Boolean; 139 | begin 140 | if WizardIsTaskSelected('modifypath') and not UsingWinNT() then begin 141 | Result := True; 142 | end else begin 143 | Result := False; 144 | end; 145 | end; 146 | -------------------------------------------------------------------------------- /Installer/Inno/inc/registry-application.isx: -------------------------------------------------------------------------------- 1 | #ifdef COPYRIGHT 2 | ; Copyright @ 1999 ImageMagick Studio LLC, a non-profit organization 3 | ; dedicated to making software imaging solutions freely available. 4 | ; 5 | ; You may not use this file except in compliance with the License. You may 6 | ; obtain a copy of the License at 7 | ; 8 | ; https://imagemagick.org/script/license.php 9 | ; 10 | ; Unless required by applicable law or agreed to in writing, software 11 | ; distributed under the License is distributed on an "AS IS" BASIS, 12 | ; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | ; See the License for the specific language governing permissions and 14 | ; limitations under the License. 15 | ; 16 | ; Copyright (C) 2003 - 2008 GraphicsMagick Group 17 | #endif 18 | 19 | ; 20 | ; Record installation paths 21 | ; 22 | 23 | #define private KeyBase "Software\" + MagickPackageName 24 | #define private KeyVersion KeyBase + "\" + MagickPackageVersion 25 | #define private KeyVersionDepth KeyVersion + "\Q:" + QuantumDepth 26 | #define private KeyCurrent KeyBase + "\Current" 27 | 28 | Root: HKLM; Subkey: {#KeyBase}; ValueType: none; Flags: uninsdeletekeyifempty 29 | Root: HKLM; Subkey: {#KeyVersion}; ValueType: none; Flags: uninsdeletekeyifempty 30 | Root: HKLM; Subkey: {#KeyVersionDepth}; ValueType: none; Flags: uninsdeletekey 31 | Root: HKLM; Subkey: {#KeyVersionDepth}; ValueType: string; ValueName: "BinPath"; ValueData: "{app}" 32 | Root: HKLM; Subkey: {#KeyVersionDepth}; ValueType: string; ValueName: "ConfigurePath"; ValueData: {#MagickConfigDirectory} 33 | Root: HKLM; Subkey: {#KeyVersionDepth}; ValueType: string; ValueName: "LibPath"; ValueData: "{app}" 34 | #ifdef MagickCodersDirectory 35 | Root: HKLM; Subkey: {#KeyVersionDepth}; ValueType: string; ValueName: "CoderModulesPath"; ValueData: {#MagickCodersDirectory} 36 | #endif 37 | #ifdef MagickFiltersDirectory 38 | Root: HKLM; Subkey: {#KeyVersionDepth}; ValueType: string; ValueName: "FilterModulesPath"; ValueData: {#MagickFiltersDirectory} 39 | #endif 40 | 41 | 42 | Root: HKLM; Subkey: {#KeyCurrent}; ValueType: none; Flags: uninsdeletekey 43 | Root: HKLM; Subkey: {#KeyCurrent}; ValueType: string; ValueName: "Version"; ValueData: {#MagickPackageVersion} 44 | Root: HKLM; Subkey: {#KeyCurrent}; ValueType: dword; ValueName: "QuantumDepth"; ValueData: {#QuantumDepth} 45 | 46 | Root: HKLM; Subkey: {#KeyCurrent}; ValueType: string; ValueName: "BinPath"; ValueData: "{app}" 47 | Root: HKLM; Subkey: {#KeyCurrent}; ValueType: string; ValueName: "ConfigurePath"; ValueData: {#MagickConfigDirectory} 48 | Root: HKLM; Subkey: {#KeyCurrent}; ValueType: string; ValueName: "LibPath"; ValueData: "{app}" 49 | #ifdef MagickCodersDirectory 50 | Root: HKLM; Subkey: {#KeyCurrent}; ValueType: string; ValueName: "CoderModulesPath"; ValueData: {#MagickCodersDirectory} 51 | #endif 52 | #ifdef MagickFiltersDirectory 53 | Root: HKLM; Subkey: {#KeyCurrent}; ValueType: string; ValueName: "FilterModulesPath"; ValueData: {#MagickFiltersDirectory} 54 | #endif 55 | 56 | ; Tell windows to use our convert.exe 57 | ; 58 | #ifdef MagickVersion7 59 | #else 60 | Root: HKLM; Subkey: "Software\Classes\Applications"; ValueType: string; ValueName: "AutoRun"; ValueData: "{app}\convert.exe $*" 61 | #endif 62 | 63 | 64 | -------------------------------------------------------------------------------- /Installer/Inno/inc/run-pathtool.isx: -------------------------------------------------------------------------------- 1 | #ifdef COPYRIGHT 2 | ; Copyright @ 1999 ImageMagick Studio LLC, a non-profit organization 3 | ; dedicated to making software imaging solutions freely available. 4 | ; 5 | ; You may not use this file except in compliance with the License. You may 6 | ; obtain a copy of the License at 7 | ; 8 | ; https://imagemagick.org/script/license.php 9 | ; 10 | ; Unless required by applicable law or agreed to in writing, software 11 | ; distributed under the License is distributed on an "AS IS" BASIS, 12 | ; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | ; See the License for the specific language governing permissions and 14 | ; limitations under the License. 15 | ; 16 | ; Copyright (C) 2003 - 2008 GraphicsMagick Group 17 | #endif 18 | 19 | ; Add -debug to parameters to enable debugging 20 | ; Filename: "{app}\uninstall\PathTool.exe"; Parameters: "/add ""{app}"""; StatusMsg: "Updating environment variables..."; Tasks: update_path 21 | -------------------------------------------------------------------------------- /Installer/Inno/inc/run-ppm.isx: -------------------------------------------------------------------------------- 1 | #ifdef COPYRIGHT 2 | ; Copyright @ 1999 ImageMagick Studio LLC, a non-profit organization 3 | ; dedicated to making software imaging solutions freely available. 4 | ; 5 | ; You may not use this file except in compliance with the License. You may 6 | ; obtain a copy of the License at 7 | ; 8 | ; https://imagemagick.org/script/license.php 9 | ; 10 | ; Unless required by applicable law or agreed to in writing, software 11 | ; distributed under the License is distributed on an "AS IS" BASIS, 12 | ; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | ; See the License for the specific language governing permissions and 14 | ; limitations under the License. 15 | ; 16 | ; Copyright (C) 2003 - 2008 GraphicsMagick Group 17 | #endif 18 | 19 | Filename: "ppm"; Parameters: "install Image-Magick.ppd"; WorkingDir: "{app}\PerlMagick"; StatusMsg: "Installing PerlMagick..."; Tasks: install_PerlMagick; Flags: shellexec 20 | -------------------------------------------------------------------------------- /Installer/Inno/inc/setup.isx: -------------------------------------------------------------------------------- 1 | #ifdef COPYRIGHT 2 | ; Copyright @ 1999 ImageMagick Studio LLC, a non-profit organization 3 | ; dedicated to making software imaging solutions freely available. 4 | ; 5 | ; You may not use this file except in compliance with the License. You may 6 | ; obtain a copy of the License at 7 | ; 8 | ; https://imagemagick.org/script/license.php 9 | ; 10 | ; Unless required by applicable law or agreed to in writing, software 11 | ; distributed under the License is distributed on an "AS IS" BASIS, 12 | ; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | ; See the License for the specific language governing permissions and 14 | ; limitations under the License. 15 | ; 16 | ; Copyright (C) 2003 - 2008 GraphicsMagick Group 17 | #endif 18 | 19 | #ifdef Magick64BitArchitecture 20 | ArchitecturesInstallIn64BitMode=x64 21 | #define public MagickArchitecture "x64" 22 | #define public MagickArchitectureDescription "(64-bit)" 23 | #else 24 | #ifdef MagickArm64Architecture 25 | ArchitecturesInstallIn64BitMode=arm64 26 | #define public MagickArchitecture "arm64" 27 | #define public MagickArchitectureDescription "(arm64)" 28 | #else 29 | #define public MagickArchitecture "x86" 30 | #define public MagickArchitectureDescription "(32-bit)" 31 | #endif 32 | #endif 33 | 34 | #ifdef MagickHDRI 35 | #define public Hdri "-HDRI" 36 | #else 37 | #define public Hdri "" 38 | #endif 39 | 40 | AppName={#MagickPackageName} {#MagickPackageVersion} Q{#QuantumDepth}{#Hdri} {#MagickArchitectureDescription} 41 | ; When updating the version string, remember to also update the version in 42 | ; the [Registry] section 43 | AppVerName={#MagickPackageName} {#MagickPackageFullVersionText} Q{#QuantumDepth}{#Hdri} {#MagickArchitectureDescription} ({#MagickPackageReleaseDate}) 44 | AppVersion={#MagickPackageFullVersion} 45 | AppCopyright=Copyright (C) 1999 ImageMagick Studio LLC 46 | AppPublisher=ImageMagick Studio LLC 47 | AppPublisherURL=http://www.imagemagick.org/ 48 | AppSupportURL=http://www.imagemagick.org/ 49 | AppUpdatesURL=http://www.imagemagick.org/script/download.php 50 | DefaultDirName={commonpf}\{#MagickPackageName}-{#MagickPackageVersion}-Q{#QuantumDepth}{#Hdri} 51 | DefaultGroupName={#MagickPackageName} {#MagickPackageVersion} Q{#QuantumDepth}{#Hdri} {#MagickArchitectureDescription} 52 | Compression=lzma/max 53 | ChangesAssociations=1 54 | ChangesEnvironment=yes 55 | AllowRootDirectory=no 56 | LicenseFile=txt\license.rtf 57 | UninstallDisplayIcon={#MagickAppDirectory}\ImageMagick.ico 58 | OutputDir=Artifacts 59 | OutputBaseFilename={#MagickPackageName}-{#MagickPackageFullVersionText}-Q{#QuantumDepth}{#Hdri}-{#MagickArchitecture}-{#MagickPackageType} 60 | -------------------------------------------------------------------------------- /Installer/Inno/inc/tasks-install-devel.isx: -------------------------------------------------------------------------------- 1 | #ifdef COPYRIGHT 2 | ; Copyright @ 1999 ImageMagick Studio LLC, a non-profit organization 3 | ; dedicated to making software imaging solutions freely available. 4 | ; 5 | ; You may not use this file except in compliance with the License. You may 6 | ; obtain a copy of the License at 7 | ; 8 | ; https://imagemagick.org/script/license.php 9 | ; 10 | ; Unless required by applicable law or agreed to in writing, software 11 | ; distributed under the License is distributed on an "AS IS" BASIS, 12 | ; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | ; See the License for the specific language governing permissions and 14 | ; limitations under the License. 15 | ; 16 | ; Copyright (C) 2003 - 2008 GraphicsMagick Group 17 | #endif 18 | 19 | Name: install_Devel; Description: "Install development headers for C and C++"; Flags: unchecked 20 | -------------------------------------------------------------------------------- /Installer/Inno/inc/tasks-install-perlmagick.isx: -------------------------------------------------------------------------------- 1 | #ifdef COPYRIGHT 2 | ; Copyright @ 1999 ImageMagick Studio LLC, a non-profit organization 3 | ; dedicated to making software imaging solutions freely available. 4 | ; 5 | ; You may not use this file except in compliance with the License. You may 6 | ; obtain a copy of the License at 7 | ; 8 | ; https://imagemagick.org/script/license.php 9 | ; 10 | ; Unless required by applicable law or agreed to in writing, software 11 | ; distributed under the License is distributed on an "AS IS" BASIS, 12 | ; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | ; See the License for the specific language governing permissions and 14 | ; limitations under the License. 15 | ; 16 | ; Copyright (C) 2003 - 2008 GraphicsMagick Group 17 | #endif 18 | 19 | Name: install_PerlMagick; Description: "Install PerlMagick for Strawberry Perl"; Flags: unchecked 20 | -------------------------------------------------------------------------------- /Installer/Inno/inc/tasks-legacy.isx: -------------------------------------------------------------------------------- 1 | #ifdef COPYRIGHT 2 | ; Copyright @ 1999 ImageMagick Studio LLC, a non-profit organization 3 | ; dedicated to making software imaging solutions freely available. 4 | ; 5 | ; You may not use this file except in compliance with the License. You may 6 | ; obtain a copy of the License at 7 | ; 8 | ; https://imagemagick.org/script/license.php 9 | ; 10 | ; Unless required by applicable law or agreed to in writing, software 11 | ; distributed under the License is distributed on an "AS IS" BASIS, 12 | ; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | ; See the License for the specific language governing permissions and 14 | ; limitations under the License. 15 | #endif 16 | 17 | Name: legacy_support; Description: "Install legacy utilities (e.g. identify)"; Flags: unchecked 18 | -------------------------------------------------------------------------------- /Installer/Inno/inc/tasks-update-path.isx: -------------------------------------------------------------------------------- 1 | #ifdef COPYRIGHT 2 | ; Copyright @ 1999 ImageMagick Studio LLC, a non-profit organization 3 | ; dedicated to making software imaging solutions freely available. 4 | ; 5 | ; You may not use this file except in compliance with the License. You may 6 | ; obtain a copy of the License at 7 | ; 8 | ; https://imagemagick.org/script/license.php 9 | ; 10 | ; Unless required by applicable law or agreed to in writing, software 11 | ; distributed under the License is distributed on an "AS IS" BASIS, 12 | ; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | ; See the License for the specific language governing permissions and 14 | ; limitations under the License. 15 | ; 16 | ; Copyright (C) 2003 - 2008 GraphicsMagick Group 17 | #endif 18 | 19 | ; Name: update_path; Description: "Update executable search path" 20 | Name: modifypath; Description: "Add application directory to your system path" 21 | -------------------------------------------------------------------------------- /Installer/Inno/inc/uninstallrun-pathtool.isx: -------------------------------------------------------------------------------- 1 | #ifdef COPYRIGHT 2 | ; Copyright @ 1999 ImageMagick Studio LLC, a non-profit organization 3 | ; dedicated to making software imaging solutions freely available. 4 | ; 5 | ; You may not use this file except in compliance with the License. You may 6 | ; obtain a copy of the License at 7 | ; 8 | ; https://imagemagick.org/script/license.php 9 | ; 10 | ; Unless required by applicable law or agreed to in writing, software 11 | ; distributed under the License is distributed on an "AS IS" BASIS, 12 | ; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | ; See the License for the specific language governing permissions and 14 | ; limitations under the License. 15 | ; 16 | ; Copyright (C) 2003 - 2008 GraphicsMagick Group 17 | #endif 18 | 19 | ; Add -debug to parameters to enable debugging 20 | ; Filename: "{app}\uninstall\PathTool.exe"; Parameters: "/del ""{app}"""; StatusMsg: "Restoring environment variables..."; Tasks: update_path 21 | -------------------------------------------------------------------------------- /Installer/Inno/inc/uninstallrun-ppm.isx: -------------------------------------------------------------------------------- 1 | #ifdef COPYRIGHT 2 | ; Copyright @ 1999 ImageMagick Studio LLC, a non-profit organization 3 | ; dedicated to making software imaging solutions freely available. 4 | ; 5 | ; You may not use this file except in compliance with the License. You may 6 | ; obtain a copy of the License at 7 | ; 8 | ; https://imagemagick.org/script/license.php 9 | ; 10 | ; Unless required by applicable law or agreed to in writing, software 11 | ; distributed under the License is distributed on an "AS IS" BASIS, 12 | ; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | ; See the License for the specific language governing permissions and 14 | ; limitations under the License. 15 | ; 16 | ; Copyright (C) 2003 - 2008 GraphicsMagick Group 17 | #endif 18 | 19 | Filename: "ppm"; Parameters: "remove Image-Magick"; StatusMsg: "Uninstalling PerlMagick..."; Tasks: install_PerlMagick; Flags: shellexec 20 | -------------------------------------------------------------------------------- /Installer/Msix/Assets/Logo/100x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/ImageMagick-Windows/925b29a5b8e3d3464c8eed214e9dfa2953599285/Installer/Msix/Assets/Logo/100x100.png -------------------------------------------------------------------------------- /Installer/Msix/Assets/Logo/107x107.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/ImageMagick-Windows/925b29a5b8e3d3464c8eed214e9dfa2953599285/Installer/Msix/Assets/Logo/107x107.png -------------------------------------------------------------------------------- /Installer/Msix/Assets/Logo/1240x1240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/ImageMagick-Windows/925b29a5b8e3d3464c8eed214e9dfa2953599285/Installer/Msix/Assets/Logo/1240x1240.png -------------------------------------------------------------------------------- /Installer/Msix/Assets/Logo/1240x600.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/ImageMagick-Windows/925b29a5b8e3d3464c8eed214e9dfa2953599285/Installer/Msix/Assets/Logo/1240x600.png -------------------------------------------------------------------------------- /Installer/Msix/Assets/Logo/142x142.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/ImageMagick-Windows/925b29a5b8e3d3464c8eed214e9dfa2953599285/Installer/Msix/Assets/Logo/142x142.png -------------------------------------------------------------------------------- /Installer/Msix/Assets/Logo/150x150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/ImageMagick-Windows/925b29a5b8e3d3464c8eed214e9dfa2953599285/Installer/Msix/Assets/Logo/150x150.png -------------------------------------------------------------------------------- /Installer/Msix/Assets/Logo/16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/ImageMagick-Windows/925b29a5b8e3d3464c8eed214e9dfa2953599285/Installer/Msix/Assets/Logo/16x16.png -------------------------------------------------------------------------------- /Installer/Msix/Assets/Logo/176x176.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/ImageMagick-Windows/925b29a5b8e3d3464c8eed214e9dfa2953599285/Installer/Msix/Assets/Logo/176x176.png -------------------------------------------------------------------------------- /Installer/Msix/Assets/Logo/188x188.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/ImageMagick-Windows/925b29a5b8e3d3464c8eed214e9dfa2953599285/Installer/Msix/Assets/Logo/188x188.png -------------------------------------------------------------------------------- /Installer/Msix/Assets/Logo/200x200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/ImageMagick-Windows/925b29a5b8e3d3464c8eed214e9dfa2953599285/Installer/Msix/Assets/Logo/200x200.png -------------------------------------------------------------------------------- /Installer/Msix/Assets/Logo/225x225.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/ImageMagick-Windows/925b29a5b8e3d3464c8eed214e9dfa2953599285/Installer/Msix/Assets/Logo/225x225.png -------------------------------------------------------------------------------- /Installer/Msix/Assets/Logo/2480x1200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/ImageMagick-Windows/925b29a5b8e3d3464c8eed214e9dfa2953599285/Installer/Msix/Assets/Logo/2480x1200.png -------------------------------------------------------------------------------- /Installer/Msix/Assets/Logo/24x24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/ImageMagick-Windows/925b29a5b8e3d3464c8eed214e9dfa2953599285/Installer/Msix/Assets/Logo/24x24.png -------------------------------------------------------------------------------- /Installer/Msix/Assets/Logo/256x256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/ImageMagick-Windows/925b29a5b8e3d3464c8eed214e9dfa2953599285/Installer/Msix/Assets/Logo/256x256.png -------------------------------------------------------------------------------- /Installer/Msix/Assets/Logo/284x284.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/ImageMagick-Windows/925b29a5b8e3d3464c8eed214e9dfa2953599285/Installer/Msix/Assets/Logo/284x284.png -------------------------------------------------------------------------------- /Installer/Msix/Assets/Logo/300x300.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/ImageMagick-Windows/925b29a5b8e3d3464c8eed214e9dfa2953599285/Installer/Msix/Assets/Logo/300x300.png -------------------------------------------------------------------------------- /Installer/Msix/Assets/Logo/30x30.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/ImageMagick-Windows/925b29a5b8e3d3464c8eed214e9dfa2953599285/Installer/Msix/Assets/Logo/30x30.png -------------------------------------------------------------------------------- /Installer/Msix/Assets/Logo/310x150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/ImageMagick-Windows/925b29a5b8e3d3464c8eed214e9dfa2953599285/Installer/Msix/Assets/Logo/310x150.png -------------------------------------------------------------------------------- /Installer/Msix/Assets/Logo/310x310.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/ImageMagick-Windows/925b29a5b8e3d3464c8eed214e9dfa2953599285/Installer/Msix/Assets/Logo/310x310.png -------------------------------------------------------------------------------- /Installer/Msix/Assets/Logo/32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/ImageMagick-Windows/925b29a5b8e3d3464c8eed214e9dfa2953599285/Installer/Msix/Assets/Logo/32x32.png -------------------------------------------------------------------------------- /Installer/Msix/Assets/Logo/36x36.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/ImageMagick-Windows/925b29a5b8e3d3464c8eed214e9dfa2953599285/Installer/Msix/Assets/Logo/36x36.png -------------------------------------------------------------------------------- /Installer/Msix/Assets/Logo/388x188.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/ImageMagick-Windows/925b29a5b8e3d3464c8eed214e9dfa2953599285/Installer/Msix/Assets/Logo/388x188.png -------------------------------------------------------------------------------- /Installer/Msix/Assets/Logo/388x388.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/ImageMagick-Windows/925b29a5b8e3d3464c8eed214e9dfa2953599285/Installer/Msix/Assets/Logo/388x388.png -------------------------------------------------------------------------------- /Installer/Msix/Assets/Logo/44x44.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/ImageMagick-Windows/925b29a5b8e3d3464c8eed214e9dfa2953599285/Installer/Msix/Assets/Logo/44x44.png -------------------------------------------------------------------------------- /Installer/Msix/Assets/Logo/465x225.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/ImageMagick-Windows/925b29a5b8e3d3464c8eed214e9dfa2953599285/Installer/Msix/Assets/Logo/465x225.png -------------------------------------------------------------------------------- /Installer/Msix/Assets/Logo/465x465.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/ImageMagick-Windows/925b29a5b8e3d3464c8eed214e9dfa2953599285/Installer/Msix/Assets/Logo/465x465.png -------------------------------------------------------------------------------- /Installer/Msix/Assets/Logo/48x48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/ImageMagick-Windows/925b29a5b8e3d3464c8eed214e9dfa2953599285/Installer/Msix/Assets/Logo/48x48.png -------------------------------------------------------------------------------- /Installer/Msix/Assets/Logo/50x50.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/ImageMagick-Windows/925b29a5b8e3d3464c8eed214e9dfa2953599285/Installer/Msix/Assets/Logo/50x50.png -------------------------------------------------------------------------------- /Installer/Msix/Assets/Logo/55x55.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/ImageMagick-Windows/925b29a5b8e3d3464c8eed214e9dfa2953599285/Installer/Msix/Assets/Logo/55x55.png -------------------------------------------------------------------------------- /Installer/Msix/Assets/Logo/600x600.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/ImageMagick-Windows/925b29a5b8e3d3464c8eed214e9dfa2953599285/Installer/Msix/Assets/Logo/600x600.png -------------------------------------------------------------------------------- /Installer/Msix/Assets/Logo/620x300.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/ImageMagick-Windows/925b29a5b8e3d3464c8eed214e9dfa2953599285/Installer/Msix/Assets/Logo/620x300.png -------------------------------------------------------------------------------- /Installer/Msix/Assets/Logo/620x620.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/ImageMagick-Windows/925b29a5b8e3d3464c8eed214e9dfa2953599285/Installer/Msix/Assets/Logo/620x620.png -------------------------------------------------------------------------------- /Installer/Msix/Assets/Logo/63x63.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/ImageMagick-Windows/925b29a5b8e3d3464c8eed214e9dfa2953599285/Installer/Msix/Assets/Logo/63x63.png -------------------------------------------------------------------------------- /Installer/Msix/Assets/Logo/66x66.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/ImageMagick-Windows/925b29a5b8e3d3464c8eed214e9dfa2953599285/Installer/Msix/Assets/Logo/66x66.png -------------------------------------------------------------------------------- /Installer/Msix/Assets/Logo/71x71.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/ImageMagick-Windows/925b29a5b8e3d3464c8eed214e9dfa2953599285/Installer/Msix/Assets/Logo/71x71.png -------------------------------------------------------------------------------- /Installer/Msix/Assets/Logo/75x75.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/ImageMagick-Windows/925b29a5b8e3d3464c8eed214e9dfa2953599285/Installer/Msix/Assets/Logo/75x75.png -------------------------------------------------------------------------------- /Installer/Msix/Assets/Logo/775x375.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/ImageMagick-Windows/925b29a5b8e3d3464c8eed214e9dfa2953599285/Installer/Msix/Assets/Logo/775x375.png -------------------------------------------------------------------------------- /Installer/Msix/Assets/Logo/88x88.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/ImageMagick-Windows/925b29a5b8e3d3464c8eed214e9dfa2953599285/Installer/Msix/Assets/Logo/88x88.png -------------------------------------------------------------------------------- /Installer/Msix/Assets/Logo/89x89.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/ImageMagick-Windows/925b29a5b8e3d3464c8eed214e9dfa2953599285/Installer/Msix/Assets/Logo/89x89.png -------------------------------------------------------------------------------- /Installer/Msix/Assets/Logo/930x450.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/ImageMagick-Windows/925b29a5b8e3d3464c8eed214e9dfa2953599285/Installer/Msix/Assets/Logo/930x450.png -------------------------------------------------------------------------------- /Installer/Msix/Assets/Logo/96x96.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImageMagick/ImageMagick-Windows/925b29a5b8e3d3464c8eed214e9dfa2953599285/Installer/Msix/Assets/Logo/96x96.png -------------------------------------------------------------------------------- /ProjectConfigs/Magick++/Config.txt: -------------------------------------------------------------------------------- 1 | [DLL] 2 | 3 | [DIRECTORIES] 4 | lib 5 | lib\Magick++ 6 | 7 | [INCLUDES] 8 | .. 9 | lib 10 | 11 | [DEPENDENCIES] 12 | MagickCore 13 | MagickWand 14 | 15 | [MAGICK_PROJECT] 16 | -------------------------------------------------------------------------------- /ProjectConfigs/Magick++/ImageMagick.rc: -------------------------------------------------------------------------------- 1 | #include "winver.h" 2 | #define __WINDOWS__ 3 | #include "..\\..\\Build\\package.version.h" 4 | 5 | ///////////////////////////////////////////////////////////////////////////// 6 | // 7 | // Version 8 | // 9 | ///////////////////////////////////////////////////////////////////////////// 10 | 11 | VS_VERSION_INFO VERSIONINFO 12 | FILEVERSION MagickppLibVersionNumber 13 | PRODUCTVERSION MagickPackageVersionNumber 14 | FILEFLAGSMASK 0x3fL 15 | #ifdef _DEBUG 16 | FILEFLAGS 0x1L 17 | #else 18 | FILEFLAGS 0x0L 19 | #endif 20 | FILEOS 0x40004L 21 | FILETYPE 0x1L 22 | FILESUBTYPE 0x0L 23 | BEGIN 24 | BLOCK "StringFileInfo" 25 | BEGIN 26 | BLOCK "040904b0" 27 | BEGIN 28 | VALUE "ProductName", "ImageMagick\0" 29 | VALUE "FileDescription", "Magick++ library\0" 30 | VALUE "OriginalFilename", "ImageMagick\0" 31 | VALUE "InternalName", "ImageMagick\0" 32 | VALUE "FileVersion", MagickppLibVersionText "\0" 33 | VALUE "ProductVersion", MagickPackageVersionText "\0" 34 | VALUE "CompanyName", "ImageMagick Studio\0" 35 | VALUE "LegalCopyright", "Copyright Bob Friesenhahn 1999-2008, Dirk Lemstra 2013+\0" 36 | VALUE "Comments", MagickVersion "\0" 37 | END 38 | END 39 | BLOCK "VarFileInfo" 40 | BEGIN 41 | VALUE "Translation", 0x409, 1200 42 | END 43 | END 44 | -------------------------------------------------------------------------------- /ProjectConfigs/MagickCore/Config.txt: -------------------------------------------------------------------------------- 1 | [DLL] 2 | 3 | [DEFINES] 4 | _MAGICKLIB_ 5 | 6 | [DIRECTORIES] 7 | . 8 | 9 | [INCLUDES] 10 | .. 11 | bzlib->. 12 | fftw->api 13 | freetype->include 14 | glib->. 15 | glib->glib 16 | lcms->include 17 | lqr->. 18 | lqr->lqr 19 | raqm->src 20 | xml->include 21 | zlib->. 22 | 23 | [EXCLUDES] 24 | mac.c 25 | vms.c 26 | widget.c 27 | 28 | [DEPENDENCIES] 29 | bzlib 30 | freetype 31 | fftw 32 | lcms 33 | lqr 34 | raqm 35 | xml 36 | zlib 37 | 38 | [OPENCL] 39 | 40 | [MAGICK_PROJECT] 41 | -------------------------------------------------------------------------------- /ProjectConfigs/MagickCore/ImageMagick.rc: -------------------------------------------------------------------------------- 1 | #include "winver.h" 2 | #define __WINDOWS__ 3 | #include "..\\..\\Build\\package.version.h" 4 | 5 | ///////////////////////////////////////////////////////////////////////////// 6 | // 7 | // Version 8 | // 9 | ///////////////////////////////////////////////////////////////////////////// 10 | 11 | VS_VERSION_INFO VERSIONINFO 12 | FILEVERSION MagickLibVersionNumber 13 | PRODUCTVERSION MagickPackageVersionNumber 14 | FILEFLAGSMASK 0x3fL 15 | #ifdef _DEBUG 16 | FILEFLAGS 0x1L 17 | #else 18 | FILEFLAGS 0x0L 19 | #endif 20 | FILEOS 0x40004L 21 | FILETYPE 0x1L 22 | FILESUBTYPE 0x0L 23 | BEGIN 24 | BLOCK "StringFileInfo" 25 | BEGIN 26 | BLOCK "040904b0" 27 | BEGIN 28 | VALUE "ProductName", "ImageMagick\0" 29 | VALUE "FileDescription", "ImageMagick Studio library and utility programs\0" 30 | VALUE "OriginalFilename", "ImageMagick\0" 31 | VALUE "InternalName", "ImageMagick\0" 32 | VALUE "FileVersion", MagickLibVersionText "\0" 33 | VALUE "ProductVersion", MagickPackageVersionText "\0" 34 | VALUE "CompanyName", "ImageMagick Studio\0" 35 | VALUE "LegalCopyright", MagickCopyright "\0" 36 | VALUE "Comments", MagickVersion "\0" 37 | END 38 | END 39 | BLOCK "VarFileInfo" 40 | BEGIN 41 | VALUE "Translation", 0x409, 1200 42 | END 43 | END 44 | -------------------------------------------------------------------------------- /ProjectConfigs/MagickCore/magick-baseconfig.h.in: -------------------------------------------------------------------------------- 1 | #ifndef _MAGICKCORE_MAGICK_BASECONFIG_H 2 | #define _MAGICKCORE_MAGICK_BASECONFIG_H 1 3 | /* 4 | ImageMagick build feature configuration. Please note that 5 | disabling a feature via this header file may not be sufficient to 6 | remove any library dependencies from the build. The VisualMagick 7 | project files may need to be edited to remove libraries the feature 8 | depends on. When building a static ImageMagick, coder 9 | registrations are made via magick\static.c so if a format is 10 | removed, the call to its registration function should be commented 11 | out in static.c. Note that VisualMagick configure updates 12 | magick\static.c so re-running configure may cause local changes to 13 | be lost. 14 | 15 | Note that by default ImageMagick is configured with a 16 | MAGICKCORE_QUANTUM_DEPTH of 8 and looks for all files in the directory 17 | where the executable is located. The installed configuration (i.e. the 18 | setup.exe-style installer) is modifying by defining 19 | "MAGICKCORE_INSTALLED_SUPPORT". If you would like to install ImageMagick 20 | using hard-coded paths, or want to use the Windows registry to install 21 | ImageMagick, then "MAGICKCORE_INSTALLED_SUPPORT" should be defined. 22 | 23 | Enabled options are of the form: 24 | 25 | #define option 26 | 27 | while disabled options are initially in the form 28 | 29 | // #undef option 30 | 31 | so it is necessary to remove the comment, and change "undef" to "define" 32 | in order for the option to be enabled. 33 | */ 34 | 35 | /* 36 | When building ImageMagick using DLLs, include a DllMain() 37 | function which automatically invokes MagickCoreGenesis(NULL), and 38 | MagickCoreTerminus() so that the user doesn't need to. This is disabled 39 | by default. 40 | */ 41 | //#define ProvideDllMain 42 | 43 | /* 44 | Permit enciphering and deciphering image pixels. 45 | */ 46 | #define MAGICKCORE_CIPHER_SUPPORT 47 | 48 | /* 49 | Define to use the Windows GDI32 library (for clipboard, emf and screenshot modules) 50 | */ 51 | #define MAGICKCORE_WINGDI32_DELEGATE 52 | 53 | $$CONFIG$$ 54 | 55 | /* 56 | Hard Coded Paths 57 | 58 | If hard-coded paths are defined via the the following define 59 | statements, then they will override any values from the Windows 60 | registry. It is unusual to use hard-coded paths under Windows. 61 | */ 62 | 63 | /* 64 | Optional: Specify where convert.exe and support executables are installed 65 | */ 66 | //#define MAGICKCORE_EXECUTABLE_PATH "c:\\ImageMagick\\" 67 | 68 | /* 69 | Optional: Specify where operating system specific files are installed 70 | */ 71 | //#define MAGICKCORE_LIBRARY_PATH "c:\\ImageMagick\\" 72 | 73 | /* 74 | Optional: Specify name of the library that contains the xml resource files 75 | */ 76 | //#define MAGICKCORE_LIBRARY_NAME "MyImageMagick.dll" 77 | 78 | /* 79 | Optional: Specify where operating system independent files are installed 80 | */ 81 | //#define MAGICKCORE_SHARE_PATH "c:\\ImageMagick\\" 82 | 83 | /* 84 | Optional: Specify where coder modules (DLLs) are installed 85 | */ 86 | //#define MAGICKCORE_CODER_PATH "c:\\ImageMagick\\" 87 | 88 | /* 89 | Optional: Specify where filter modules (DLLs) are installed 90 | */ 91 | //#define MAGICKCORE_FILTER_PATH "c:\\ImageMagick\\" 92 | 93 | /* 94 | The remaining defines should not require user modification. 95 | */ 96 | 97 | /* 98 | Define the package name. 99 | */ 100 | #define MAGICKCORE_PACKAGE_NAME "ImageMagick" 101 | 102 | #define _magickcore_inline __inline 103 | #define _magickcore_restrict __restrict 104 | 105 | /* 106 | The 64-bit channel mask requires a C++ compiler 107 | */ 108 | #if MAGICKCORE_CHANNEL_MASK_DEPTH == 64 109 | # if !defined(__cplusplus) && !defined(c_plusplus) 110 | # error ImageMagick was build with a 64 channel bit mask and that requires a C++ compiler 111 | # endif 112 | #endif 113 | 114 | /* 115 | Visual C++ does not define ssize_t by default. 116 | */ 117 | #if !defined(ssize_t) && !defined(__MINGW32__) 118 | #if defined(_WIN64) 119 | typedef __int64 ssize_t; 120 | #else 121 | typedef long ssize_t; 122 | #endif 123 | #endif 124 | 125 | #if !defined(__FUNCTION__) 126 | #define __FUNCTION__ "unknown" 127 | #endif 128 | #define __func__ __FUNCTION__ 129 | 130 | #define MAGICKCORE_SIZEOF_DOUBLE 8 131 | #define MAGICKCORE_SIZEOF_DOUBLE_T 8 132 | #define MAGICKCORE_SIZEOF_FLOAT 4 133 | #define MAGICKCORE_SIZEOF_FLOAT_T 4 134 | 135 | #if defined(_WIN64) 136 | #define MAGICKCORE_SIZEOF_VOID_P 8 137 | #else 138 | #define MAGICKCORE_SIZEOF_VOID_P 4 139 | #endif 140 | 141 | #define MAGICKCORE_HAVE_ACOSH 1 142 | #define MAGICKCORE_HAVE_ASINH 1 143 | #define MAGICKCORE_HAVE_ATANH 1 144 | #define MAGICKCORE_HAVE_ATEXIT 1 145 | #define MAGICKCORE_HAVE_ATOLL 1 146 | #define MAGICKCORE_HAVE_DECL_VSNPRINTF 1 147 | #define MAGICKCORE_HAVE_ERF 1 148 | #define MAGICKCORE_HAVE_GETTIMEOFDAY 1 149 | #define MAGICKCORE_HAVE_INTTYPES_H 1 150 | #define MAGICKCORE_HAVE_J0 1 151 | #define MAGICKCORE_HAVE_J1 1 152 | #define MAGICKCORE_HAVE_LOCALE_H 1 153 | #define MAGICKCORE_HAVE_LOCALE_T 1 154 | #define MAGICKCORE_HAVE_PCLOSE 1 155 | #define MAGICKCORE_HAVE_POPEN 1 156 | #define MAGICKCORE_HAVE_POW 1 157 | #define MAGICKCORE_HAVE_PROCESS_H 1 158 | #define MAGICKCORE_HAVE_RAISE 1 159 | #define MAGICKCORE_HAVE_SQRT 1 160 | #define MAGICKCORE_HAVE_STDINT_H 1 161 | #define MAGICKCORE_HAVE_STDIO_H 1 162 | #define MAGICKCORE_HAVE_STRING_H 1 163 | #define MAGICKCORE_HAVE_STRTOD 1 164 | #define MAGICKCORE_HAVE_STRTOD_L 1 165 | #define MAGICKCORE_HAVE_TELLDIR 1 166 | #define MAGICKCORE_HAVE_UINTPTR_T 1 167 | #define MAGICKCORE_HAVE_VFPRINTF 1 168 | #define MAGICKCORE_HAVE_VFPRINTF_L 1 169 | #define MAGICKCORE_HAVE_VSNPRINTF 1 170 | #define MAGICKCORE_HAVE_VSNPRINTF_L 1 171 | #define MAGICKCORE_HAVE__ALIGNED_MALLOC */ 172 | #define MAGICKCORE_HAVE__EXIT 1 173 | #define MAGICKCORE_SETJMP_IS_THREAD_SAFE 1 174 | #define MAGICKCORE_STDC_HEADERS 1 175 | 176 | /* 177 | Disable specific warnings. 178 | */ 179 | #if _MSC_VER < 1920 180 | #pragma warning(disable: 4101) /* 'identifier' : unreferenced local variable */ 181 | #pragma warning(disable: 4130) /* 'operator' : logical operation on address of string constant */ 182 | #pragma warning(disable: 4204) /* nonstandard extension used: non-constant aggregate initializer */ 183 | #pragma warning(disable: 4459) /* 'identifier' : declaration of 'foo' hides global declaration */ 184 | #endif 185 | #if _MSC_VER < 1930 186 | #pragma warning(disable: 4201) /* nonstandard extension used : nameless struct/union */ 187 | #endif 188 | #pragma warning(disable: 4611) /* interaction between '_setjmp' and C++ object destruction is non-portable */ 189 | #pragma warning(disable: 6993) /* code analysis ignores OpenMP constructs; analyzing single-threaded code */ 190 | 191 | #endif 192 | -------------------------------------------------------------------------------- /ProjectConfigs/MagickWand/Config.txt: -------------------------------------------------------------------------------- 1 | [DLL] 2 | 3 | [DEFINES] 4 | _MAGICKLIB_ 5 | 6 | [DIRECTORIES] 7 | . 8 | 9 | [INCLUDES] 10 | .. 11 | 12 | [EXCLUDES] 13 | drawtest.c 14 | wandtest.c 15 | 16 | [DEPENDENCIES] 17 | MagickCore 18 | 19 | [OPENCL] 20 | 21 | [MAGICK_PROJECT] 22 | -------------------------------------------------------------------------------- /ProjectConfigs/MagickWand/ImageMagick.rc: -------------------------------------------------------------------------------- 1 | #include "winver.h" 2 | #define WIN32 3 | #include "..\\..\\Build\\package.version.h" 4 | 5 | ///////////////////////////////////////////////////////////////////////////// 6 | // 7 | // Version 8 | // 9 | ///////////////////////////////////////////////////////////////////////////// 10 | 11 | VS_VERSION_INFO VERSIONINFO 12 | FILEVERSION MagickLibVersionNumber 13 | PRODUCTVERSION MagickPackageVersionNumber 14 | FILEFLAGSMASK 0x3fL 15 | #ifdef _DEBUG 16 | FILEFLAGS 0x1L 17 | #else 18 | FILEFLAGS 0x0L 19 | #endif 20 | FILEOS 0x40004L 21 | FILETYPE 0x1L 22 | FILESUBTYPE 0x0L 23 | BEGIN 24 | BLOCK "StringFileInfo" 25 | BEGIN 26 | BLOCK "040904b0" 27 | BEGIN 28 | VALUE "ProductName", "ImageMagick\0" 29 | VALUE "FileDescription", "MagickWand Library\0" 30 | VALUE "OriginalFilename", "ImageMagick\0" 31 | VALUE "InternalName", "ImageMagick\0" 32 | VALUE "FileVersion", MagickLibVersionText "\0" 33 | VALUE "ProductVersion", MagickPackageVersionText "\0" 34 | VALUE "CompanyName", "ImageMagick Studio LLC\0" 35 | VALUE "LegalCopyright", MagickCopyright "\0" 36 | VALUE "Comments", MagickVersion "\0" 37 | END 38 | END 39 | BLOCK "VarFileInfo" 40 | BEGIN 41 | VALUE "Translation", 0x409, 1200 42 | END 43 | END 44 | 45 | ///////////////////////////////////////////////////////////////////////////// 46 | // 47 | // IMAGEMAGICK 48 | // 49 | ///////////////////////////////////////////////////////////////////////////// 50 | 51 | 52 | ///////////////////////////////////////////////////////////////////////////// 53 | // 54 | // Icon 55 | // 56 | ///////////////////////////////////////////////////////////////////////////// 57 | 58 | -------------------------------------------------------------------------------- /ProjectConfigs/coders/Config.dng.txt: -------------------------------------------------------------------------------- 1 | [INCLUDES] 2 | raw->libraw 3 | 4 | [DEFINES_LIB] 5 | LIBRAW_NODLL 6 | 7 | [DEPENDENCIES] 8 | raw 9 | -------------------------------------------------------------------------------- /ProjectConfigs/coders/Config.emf.txt: -------------------------------------------------------------------------------- 1 | [CPP] 2 | ImageMagick\coders\emf.c -------------------------------------------------------------------------------- /ProjectConfigs/coders/Config.exr.txt: -------------------------------------------------------------------------------- 1 | [INCLUDES] 2 | exr->imath 3 | exr->imath\src\Imath 4 | exr->openexr 5 | exr->openexr\src\lib\OpenEXR 6 | exr->openexr\src\lib\OpenEXRCore 7 | 8 | [DEFINES_DLL] 9 | OPENEXR_DLL 10 | 11 | [DEPENDENCIES] 12 | exr 13 | -------------------------------------------------------------------------------- /ProjectConfigs/coders/Config.flif.txt: -------------------------------------------------------------------------------- 1 | [INCLUDES] 2 | flif->src\library 3 | 4 | [DEPENDENCIES] 5 | flif 6 | -------------------------------------------------------------------------------- /ProjectConfigs/coders/Config.heic.txt: -------------------------------------------------------------------------------- 1 | [INCLUDES] 2 | heif->. 3 | heif->libheif\api 4 | 5 | [DEFINES_LIB] 6 | LIBHEIF_STATIC_BUILD 7 | 8 | [DEPENDENCIES] 9 | heif 10 | -------------------------------------------------------------------------------- /ProjectConfigs/coders/Config.jbig.txt: -------------------------------------------------------------------------------- 1 | [INCLUDES] 2 | jbig->libjbig 3 | 4 | [DEPENDENCIES] 5 | jbig 6 | -------------------------------------------------------------------------------- /ProjectConfigs/coders/Config.jp2.txt: -------------------------------------------------------------------------------- 1 | [INCLUDES] 2 | openjpeg->src\lib\openjp2 3 | 4 | [DEFINES_LIB] 5 | OPJ_STATIC 6 | 7 | [DEPENDENCIES] 8 | openjpeg 9 | -------------------------------------------------------------------------------- /ProjectConfigs/coders/Config.jpeg.txt: -------------------------------------------------------------------------------- 1 | [INCLUDES] 2 | jpeg-turbo->src 3 | 4 | [DEFINES_DLL] 5 | MAGICKCORE_HAVE_JPEG_ENABLE_LOSSLESS 6 | MAGICKCORE_HAVE_JPEG12_READ_SCANLINES 7 | MAGICKCORE_HAVE_JPEG16_READ_SCANLINES 8 | MAGICKCORE_HAVE_JPEG12_WRITE_SCANLINES 9 | MAGICKCORE_HAVE_JPEG16_WRITE_SCANLINES 10 | 11 | [DEFINES_LIB] 12 | MAGICKCORE_HAVE_JPEG_ENABLE_LOSSLESS 13 | MAGICKCORE_HAVE_JPEG12_READ_SCANLINES 14 | MAGICKCORE_HAVE_JPEG16_READ_SCANLINES 15 | MAGICKCORE_HAVE_JPEG12_WRITE_SCANLINES 16 | MAGICKCORE_HAVE_JPEG16_WRITE_SCANLINES 17 | 18 | [DEPENDENCIES] 19 | jpeg-turbo 20 | jpeg-turbo-12 21 | jpeg-turbo-16 -------------------------------------------------------------------------------- /ProjectConfigs/coders/Config.jxl.txt: -------------------------------------------------------------------------------- 1 | [INCLUDES] 2 | jpeg-xl->lib\include 3 | 4 | [DEFINES_LIB] 5 | JXL_STATIC_DEFINE 6 | JXL_THREADS_STATIC_DEFINE 7 | 8 | [DEPENDENCIES] 9 | jpeg-xl 10 | -------------------------------------------------------------------------------- /ProjectConfigs/coders/Config.mat.txt: -------------------------------------------------------------------------------- 1 | [INCLUDES] 2 | zlib->. 3 | 4 | [DEPENDENCIES] 5 | zlib 6 | -------------------------------------------------------------------------------- /ProjectConfigs/coders/Config.miff.txt: -------------------------------------------------------------------------------- 1 | [INCLUDES] 2 | bzlib->. 3 | lzma->src\liblzma\api 4 | zlib->. 5 | 6 | [DEFINES_LIB] 7 | LZMA_API_STATIC 8 | 9 | [DEPENDENCIES] 10 | bzlib 11 | lzma 12 | zlib 13 | -------------------------------------------------------------------------------- /ProjectConfigs/coders/Config.msl.txt: -------------------------------------------------------------------------------- 1 | [INCLUDES] 2 | xml->include 3 | 4 | [DEPENDENCIES] 5 | xml 6 | -------------------------------------------------------------------------------- /ProjectConfigs/coders/Config.ora.txt: -------------------------------------------------------------------------------- 1 | [INCLUDES] 2 | zip->lib 3 | 4 | [DEPENDENCIES] 5 | zip 6 | -------------------------------------------------------------------------------- /ProjectConfigs/coders/Config.pango.txt: -------------------------------------------------------------------------------- 1 | [INCLUDES] 2 | cairo->src 3 | glib->. 4 | glib->glib 5 | harfbuzz->src 6 | pango->. 7 | 8 | [DEPENDENCIES] 9 | cairo 10 | glib 11 | pango 12 | -------------------------------------------------------------------------------- /ProjectConfigs/coders/Config.png.txt: -------------------------------------------------------------------------------- 1 | [INCLUDES] 2 | png->. 3 | zlib->. 4 | 5 | [DEPENDENCIES] 6 | png 7 | zlib 8 | -------------------------------------------------------------------------------- /ProjectConfigs/coders/Config.psd.txt: -------------------------------------------------------------------------------- 1 | [INCLUDES] 2 | zlib->. 3 | 4 | [DEPENDENCIES] 5 | zlib 6 | -------------------------------------------------------------------------------- /ProjectConfigs/coders/Config.svg.txt: -------------------------------------------------------------------------------- 1 | [INCLUDES] 2 | cairo->src 3 | glib->. 4 | glib->glib 5 | glib->gmodule 6 | rsvg->. 7 | rsvg->gdk-pixbuf 8 | xml->include 9 | 10 | [DEPENDENCIES] 11 | cairo 12 | glib 13 | rsvg 14 | xml 15 | -------------------------------------------------------------------------------- /ProjectConfigs/coders/Config.tiff.txt: -------------------------------------------------------------------------------- 1 | [INCLUDES] 2 | tiff->libtiff 3 | 4 | [DEPENDENCIES] 5 | tiff 6 | coders>psd 7 | -------------------------------------------------------------------------------- /ProjectConfigs/coders/Config.ttf.txt: -------------------------------------------------------------------------------- 1 | [INCLUDES] 2 | freetype->include 3 | 4 | [DEPENDENCIES] 5 | freetype 6 | -------------------------------------------------------------------------------- /ProjectConfigs/coders/Config.txt: -------------------------------------------------------------------------------- 1 | [DLLMODULE] 2 | 3 | [DIRECTORIES] 4 | . 5 | 6 | [INCLUDES] 7 | .. 8 | 9 | [EXCLUDES] 10 | wmf.c 11 | x.c 12 | xwd.c 13 | 14 | [MODULE_PREFIX] 15 | IM_MOD 16 | 17 | [DEPENDENCIES] 18 | MagickCore 19 | 20 | [MAGICK_PROJECT] 21 | -------------------------------------------------------------------------------- /ProjectConfigs/coders/Config.url.txt: -------------------------------------------------------------------------------- 1 | [INCLUDES] 2 | xml->include 3 | 4 | [DEPENDENCIES] 5 | xml 6 | -------------------------------------------------------------------------------- /ProjectConfigs/coders/Config.webp.txt: -------------------------------------------------------------------------------- 1 | [INCLUDES] 2 | webp->src 3 | 4 | [DEPENDENCIES] 5 | webp 6 | -------------------------------------------------------------------------------- /ProjectConfigs/coders/ImageMagick.rc: -------------------------------------------------------------------------------- 1 | #include "winver.h" 2 | #define __WINDOWS__ 3 | #include "..\\..\\Build\\package.version.h" 4 | 5 | ///////////////////////////////////////////////////////////////////////////// 6 | // 7 | // Version 8 | // 9 | ///////////////////////////////////////////////////////////////////////////// 10 | 11 | VS_VERSION_INFO VERSIONINFO 12 | FILEVERSION MagickPackageVersionNumber 13 | PRODUCTVERSION MagickPackageVersionNumber 14 | FILEFLAGSMASK 0x3fL 15 | #ifdef _DEBUG 16 | FILEFLAGS 0x1L 17 | #else 18 | FILEFLAGS 0x0L 19 | #endif 20 | FILEOS 0x40004L 21 | FILETYPE 0x1L 22 | FILESUBTYPE 0x0L 23 | BEGIN 24 | BLOCK "StringFileInfo" 25 | BEGIN 26 | BLOCK "040904b0" 27 | BEGIN 28 | VALUE "ProductName", "ImageMagick\0" 29 | VALUE "FileDescription", "ImageMagick Studio\0" 30 | VALUE "OriginalFilename", "ImageMagick\0" 31 | VALUE "InternalName", "ImageMagick\0" 32 | VALUE "FileVersion", MagickPackageVersionNumber "\0" 33 | VALUE "ProductVersion", MagickPackageVersionText "\0" 34 | VALUE "CompanyName", "ImageMagick Studio\0" 35 | VALUE "LegalCopyright", MagickCopyright "\0" 36 | VALUE "Comments", MagickVersion "\0" 37 | END 38 | END 39 | BLOCK "VarFileInfo" 40 | BEGIN 41 | VALUE "Translation", 0x409, 1200 42 | END 43 | END 44 | -------------------------------------------------------------------------------- /ProjectConfigs/demos/Config.txt: -------------------------------------------------------------------------------- 1 | [EXEMODULE] 2 | 3 | [OPTIONAL] 4 | 5 | [PATH] 6 | Magick++\demo 7 | 8 | [DIRECTORIES] 9 | . 10 | 11 | [INCLUDES] 12 | .. 13 | Magick++->lib 14 | 15 | [MODULE_PREFIX] 16 | DEMO 17 | 18 | [DEPENDENCIES] 19 | coders 20 | filters 21 | Magick++ 22 | MagickCore 23 | -------------------------------------------------------------------------------- /ProjectConfigs/filters/Config.txt: -------------------------------------------------------------------------------- 1 | [DLLMODULE] 2 | 3 | [DIRECTORIES] 4 | . 5 | 6 | [INCLUDES] 7 | .. 8 | 9 | [MODULE_PREFIX] 10 | FILTER 11 | 12 | [DEPENDENCIES] 13 | MagickCore 14 | 15 | [MAGICK_PROJECT] 16 | -------------------------------------------------------------------------------- /ProjectConfigs/oss-fuzz/Config.txt: -------------------------------------------------------------------------------- 1 | [EXEMODULE] 2 | 3 | [UNICODE] 4 | 5 | [DEFINES] 6 | BUILD_MAIN 7 | 8 | [DIRECTORIES] 9 | . 10 | 11 | [INCLUDES] 12 | .. 13 | Magick++->lib 14 | 15 | [EXCLUDES] 16 | encoder_list.cc 17 | encoder_utils.cc 18 | travis.cc 19 | utils.cc 20 | 21 | [MODULE_PREFIX] 22 | FUZZ 23 | 24 | [DEPENDENCIES] 25 | coders 26 | filters 27 | Magick++ 28 | MagickCore 29 | 30 | [ONLY_IMAGEMAGICK7] 31 | -------------------------------------------------------------------------------- /ProjectConfigs/utilities/Aliases.magick.txt: -------------------------------------------------------------------------------- 1 | compare 2 | composite 3 | conjure 4 | identify 5 | mogrify 6 | montage 7 | stream 8 | -------------------------------------------------------------------------------- /ProjectConfigs/utilities/Config.txt: -------------------------------------------------------------------------------- 1 | [EXEMODULE] 2 | 3 | [DIRECTORIES] 4 | . 5 | 6 | [INCLUDES] 7 | .. 8 | 9 | [MODULE_PREFIX] 10 | UTIL 11 | 12 | [EXCLUDES] 13 | animate.c 14 | display.c 15 | import.c 16 | 17 | [DEPENDENCIES] 18 | coders 19 | filters 20 | MagickCore 21 | MagickWand 22 | 23 | [MAGICK_PROJECT] 24 | -------------------------------------------------------------------------------- /ProjectConfigs/utilities/ImageMagick.rc: -------------------------------------------------------------------------------- 1 | #include "winver.h" 2 | #define __WINDOWS__ 3 | #include "..\\..\\Build\\package.version.h" 4 | 5 | ///////////////////////////////////////////////////////////////////////////// 6 | // 7 | // Version 8 | // 9 | ///////////////////////////////////////////////////////////////////////////// 10 | 11 | VS_VERSION_INFO VERSIONINFO 12 | FILEVERSION MagickPackageVersionNumber 13 | PRODUCTVERSION MagickPackageVersionNumber 14 | FILEFLAGSMASK 0x3fL 15 | #ifdef _DEBUG 16 | FILEFLAGS 0x1L 17 | #else 18 | FILEFLAGS 0x0L 19 | #endif 20 | FILEOS 0x40004L 21 | FILETYPE 0x1L 22 | FILESUBTYPE 0x0L 23 | BEGIN 24 | BLOCK "StringFileInfo" 25 | BEGIN 26 | BLOCK "040904b0" 27 | BEGIN 28 | VALUE "ProductName", "ImageMagick\0" 29 | VALUE "FileDescription", "ImageMagick Studio library and utility programs\0" 30 | VALUE "OriginalFilename", "ImageMagick\0" 31 | VALUE "InternalName", "ImageMagick\0" 32 | VALUE "FileVersion", MagickPackageVersionText "\0" 33 | VALUE "ProductVersion", MagickPackageVersionText "\0" 34 | VALUE "CompanyName", "ImageMagick Studio\0" 35 | VALUE "LegalCopyright", MagickCopyright "\0" 36 | VALUE "Comments", MagickVersion "\0" 37 | END 38 | END 39 | BLOCK "VarFileInfo" 40 | BEGIN 41 | VALUE "Translation", 0x409, 1200 42 | END 43 | END 44 | 45 | ///////////////////////////////////////////////////////////////////////////// 46 | // 47 | // Icon 48 | // 49 | ///////////////////////////////////////////////////////////////////////////// 50 | 51 | IDR_MAGICKICON ICON DISCARDABLE "..\\..\\ImageMagick\\images\\ImageMagick.ico" 52 | -------------------------------------------------------------------------------- /Readme.md: -------------------------------------------------------------------------------- 1 | # Building ImageMagick on Windows. 2 | 3 | This document describes the requirements and instructions to build ImageMagick for Windows on your own machine. 4 | 5 | ### Requirements 6 | 7 | - Visual Studio 2017 (or newer) 8 | - Git for Windows 9 | - AMD APP SDK (optional for OpenCL support) 10 | 11 | ### Install Visual Studio dependencies 12 | 13 | To build ImageMagick with Visual Studio the following components should be installed: 14 | 15 | - Desktop development with C++ (workload) 16 | - Visual C++ ATL for x86 and x64 17 | - Visual C++ MFC for x86 and x64 18 | - Windows XP support for C++ (optional if the output needs to run on Windows XP) 19 | 20 | Naming of these components might differ between versions of Visual Studio. The example above use the Visual Studio 21 | 2017 names. 22 | 23 | ### Clone the dependencies 24 | 25 | The ImageMagick library is built with a number of third party libraries. Run `CloneRepositories.IM7.cmd` to clone 26 | these libraries and the ImageMagick library. To clone the legacy ImageMagick 6 library and it's dependencies 27 | run `CloneRepositories.IM6.cmd`. 28 | 29 | ### Build Configure.exe 30 | 31 | One of the folders in this project is called `Configure`. This folder contains the solution file `Configure.sln` 32 | for the latest 2022 version of Visual Studio, and `Configure.2017.sln` for older versions. Open one of those and 33 | start a `Release` build of the project. This will create a file called `Configure.exe` in the folder. Running this 34 | program will start a Wizard that allows configuration of ImageMagick and its individual components. 35 | 36 | ### Build ImageMagick 37 | 38 | Depending on which options were chosen when running `Configure.exe` one of the following solutions will be created 39 | in the root of the repository: 40 | 41 | - IM7.Dynamic.sln (Dynamic Multi-threaded DLL runtimes) 42 | - IM7.StaticDLL.sln (Static Multi-threaded DLL runtimes) 43 | - IM7.Static.sln (Static Multi-threaded runtimes) 44 | 45 | Open the solution to start building ImageMagick. The binaries will be created in the `Artifacts\bin` folder. 46 | --------------------------------------------------------------------------------