ImageMagickObject - 32 vs 64 bit
Posted: 2015-07-13T07:14:51-07:00
There's been an ample amount of discussion lately for the ImageMagickObject (IMO) lately. Until recently, I've been in the same camp, but believe I now have a better understanding of how it is working.
Assuming this is being installed on a 64-bit system, the most important consideration is whether the of 32 or 64 bit version should be installed. Although the download page says "Unless you have a Windows 32-bit OS, we recommend this version of ImageMagick for 64-bit Windows," this is not sufficient enough information when using the IMO.
The version that needs to be installed is determined by the version of the software creating the IMO. If you are using VB6 which is 32-bit, you must install the 32-bit version. If you are developing a 64-bit application, then you must install the 64-bit version.
Here's a concrete example. If you install the 64-bit version and run the test scripts in "C:\Program Files\ImageMagick-6.9.1-Q8\ImageMagickObject\Tests" , it will work fine. If, however, you install the 32-bit version and run the test scripts (in the x86 directory), they fail. If you want the test scripts to run successfully, you need to run them with the 32-bit version of wscript "c:\windows\syswow64\wscript.exe" When you use that version, they run successfully.
From my testing, I believe that you can only have one version of the IMO installed at any given time. I haven't played with it too extensively, but I think if I install the 64-bit over the 32-bit, then my VB6 application stops working. I'm assuming it would be possible to have explicitly named 32 and 64 bit versions, so if you specified which version, you could have both versions installed and the non-specific one would just be the latest version installed. This is not something I deal with ever, so I do not know if that is even a good idea or if it goes against any/all best practices.
Gary
Assuming this is being installed on a 64-bit system, the most important consideration is whether the of 32 or 64 bit version should be installed. Although the download page says "Unless you have a Windows 32-bit OS, we recommend this version of ImageMagick for 64-bit Windows," this is not sufficient enough information when using the IMO.
The version that needs to be installed is determined by the version of the software creating the IMO. If you are using VB6 which is 32-bit, you must install the 32-bit version. If you are developing a 64-bit application, then you must install the 64-bit version.
Here's a concrete example. If you install the 64-bit version and run the test scripts in "C:\Program Files\ImageMagick-6.9.1-Q8\ImageMagickObject\Tests" , it will work fine. If, however, you install the 32-bit version and run the test scripts (in the x86 directory), they fail. If you want the test scripts to run successfully, you need to run them with the 32-bit version of wscript "c:\windows\syswow64\wscript.exe" When you use that version, they run successfully.
From my testing, I believe that you can only have one version of the IMO installed at any given time. I haven't played with it too extensively, but I think if I install the 64-bit over the 32-bit, then my VB6 application stops working. I'm assuming it would be possible to have explicitly named 32 and 64 bit versions, so if you specified which version, you could have both versions installed and the non-specific one would just be the latest version installed. This is not something I deal with ever, so I do not know if that is even a good idea or if it goes against any/all best practices.
Gary