It seemed out of date, being a decade old, but I tried to follow it anyway. I had success until this step:
Run the configure program. In the dialog, click Next.
In the next dialog window, select "Edit magick-config.in".
This will start up notepad and allows you to edit the file.
Check that MAGICKCORE_QUANTUM_DEPTH is the required value (16 is best when using FFTW and/or HDRI) then check that MAGICKCORE_HDRI_SUPPORT is defined.
Finally, after HDRI, add this:
#define MAGICKCORE_FFTW_DELEGATE
I could not find an option in the configure dialogue gui to edit “magick-config.in” despite being able to set the HDRI 16 bit mode enablement. Manual search for that the file “magick-config.in” proved fruitless, despite searching the entire repository and all files generated. Nonetheless, since I had done the linking to MS Visual Studio to the delegate library step earlier, I tried the compile anyway. Imagemagick was successfully compiled, and I continued to make trig function art with imagemagick but no fft filter support.
Anyone have an updated easy for people like me who only know intro level programming stuff tutorial, or pre-compiled windows 10 imagemagick fftw included binaries that they could private message share on Google drive with me?
I have compiled this so many times in the distant past and once a couple of years ago (but not using the method described). It used to be near impossible but for modern IM it is much easier. Anyway, I will ping @snibgo who does this in his sleep, probably.
Thanks for the tip about the IM forum. As per the the compile instructions, I already found the advanced windows instructions link you listed, but was unable to figure out how to add custom delegate libraries in the configure process. For what it’s worth, I compiled it anyway out of curiosity, and it compiled just fine, though it obviously didn’t have fftw set up.
I notice that ImageMagick - Advanced Windows Source Installation says it creates configure.exe, and “Running this program will start a Wizard that allows configuration of ImageMagick and its individual components.”
For comparison, building with GNU tools involves running a bash script “./configure” which has many options, including “–help”, and “–without-fftw”. By default, it is built with fftw. Perhaps configure.exe contains similar facilities.
As I say, I’ve never used Visual Studio to build IM, and have no idea how that works. I suggest you search Discussions · ImageMagick/ImageMagick · GitHub , and/or post a question there.
I use the GNU toolchain and bash, from Cygwin packages. I documented this at Compiling IM with Cygwin, for IM v6, but v7 is the same process. In a nutshell: download, ./configure, make install.
To include fftw, you need to have downloaded the fftw library. The Windows IM v7 distribution contains the fftw library. (At least, it did last time I downloaded it.)