Error if MAGICK_HOME is set by another Program

Can't figure out how to do a task? Ask here.
Post Reply
queo
Posts: 2
Joined: Tue Jan 17, 2017 4:22 pm
Contact:

Tue Jan 17, 2017 4:31 pm

Hi there,

we have a strange problem with one of our PCs running BatchPhoto. On this PC also runs an Instance of XAMPP and ImageMagic, which needs the environment variable "MAGICK_HOME" set. However, if we set the variable, all BatchPhoto Actions won't run anymore. If we unset it, everthing works fine with BatchPhoto but of course the ImagageMagic Component in XAMPP isn't running anymore.

The only Option by now is using a small cmd-snippet to unset the Variable before running the Monitor.exe. However, this is not that great. Is there a nicer, more convenient workaround?

Thanks in advance,
Stefan
queo GmbH

Cosmin
Posts: 326
Joined: Sat May 16, 2009 11:35 am
Contact:

Thu Jan 19, 2017 8:34 pm

Hi Stefan,

Thank you for your question.

It seems that ImageMagick first looks up into environmental variables for MAGICK_HOME before looking into the current folder for the ImageMagick DLLs. BatchPhoto installs the ImageMagick DLLs into its Program Files folder.

The problem is probably with the version of ImageMagick which is different. You can try to copy all ImageMagick DLLs from BatchPhoto to the folder indicated by MAGICK_HOME but this will overwrite the ImageMagick DLLs from there with the version BatchPhoto uses. BatchPhoto should work but I don't know about the other programs.

Please let me know if this works for you.
Regards,
Mike Cosmin Unguru
Product Manager

queo
Posts: 2
Joined: Tue Jan 17, 2017 4:22 pm
Contact:

Tue Jan 24, 2017 4:25 pm

Hi and thank you,

this is a bit problematic, since ImageMagic differs in many ways from version to version. So we need a specific version for our php-script to maintain functionality and picture quality. It seems you are packing IM 6.7.5 with Batchphoto, we are using 6.8.8 :(

Regards,
Stefan
queo GmbH

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 8 guests