Author Topic: ImageMagick on NT  (Read 1886 times)

0 Members and 1 Guest are viewing this topic.

Offline Systematic

  • album.pl User
  • *
  • Posts: 5
  • Karma: +0/-0
  • Always keen to learn..
    • Systematic (NI)
ImageMagick on NT
« on: November 24, 2002, 02:32:30 »
Hi Mike,
Haven't had time to look at v6 yet.  I'm still running 5.7 and haven't even checked through the forums for related info but:

I have just had to change the system calls to ImageMagick identify.exe and convert.exe to get them to work on an NT box.  Is this a known issue?  Thought I'd post here in case others are having similar problems.

The problem was that quotes in the systema call string were not being parsed - remove the \" s and it all works beautifully!

There are 2 system calls (3 lines of code to change for my setup) eg
Code: [Select]
$system_call.=" \"$object\" \"$image_thumb\"";
becomes:
Code: [Select]
$system_call.=" $object $image_thumb";
     


ImageMagick install tip on NT.
Download ImageMagick-i686-pc-windows.exe. I couldn't run the ImageMagick install exe on the remote box so ran it on a local PC then just created an ImageMagick directory with \modules and \config subdirectories, then copied all files from these 3 directories on my local machine to the new directories on the server.  Next add the registry HKLM\Software\ImageMagick keys as described in the installation help files.  I use Cgicommand.pl to run commandline stuff from a web browser (then delete it ffom the server!) and reg.exe to fiddle with the registry (be careful)
« Last Edit: December 31, 1969, 19:00:00 by 1039064400 »

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re: ImageMagick on NT
« Reply #1 on: November 24, 2002, 16:46:22 »
I haven't seen that problem myself, but it's good to know. (I recall that I added the \" in because Wintel paths with spaces broke the system call... Could be wrong though.)

I've added it to the FAQ, along with your remote install instructions.

Thanks!
« Last Edit: December 31, 1969, 19:00:00 by 1039064400 »