ImageMagick & cfexecute

Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.

  1. #1

    Default ImageMagick & cfexecute

    I just moved all our websites to a new server which is running win2003 and CFMX
    6.1 with updates. The old server was Win2k and CFMX 6.1 no updates. This code
    worked fine on the old server to add a watermark:

    <cfexecute
    name="C:\Program Files\ImageMagick-6.0.2-q16\composite -compose bumpmap
    -gravity center #WatermarkPath#mark.png \
    #PrvPath##SESSION.Client.ID#-#ImageName#
    #PrvPath##SESSION.Client.ID#-#ImageName#">
    </cfexecute>
    The above code now gives this error: "An exception occurred when invoking an
    external process."

    After reading some posts about changes to cfexecute I changed the code to
    (added arguments=):

    <cfexecute
    name="C:\Program Files\ImageMagick-6.0.2-q16\composite"
    Arguments="-compose bumpmap -gravity center#WatermarkPath#mark.png \
    #PrvPath##SESSION.Client.ID#-#ImageName#
    #PrvPath##SESSION.Client.ID#-#ImageName#">
    </cfexecute>

    Now I receive no error but nothing happens.

    Does anyone have any idea what may be the problem? Thanks in advance for any
    help

    megalith Guest

  2. Similar Questions and Discussions

    1. ImageMagick and threads
      Hello I have a problem with PerlMagick, it crashes every time I run the script. Perl version 5.8.1, ImageMagick/PerlMagick version 6.1.0-3. A...
    2. using imagemagick
      Hello Would you please give me some good references and tutorials on how to use imagemagick in PHP. I am trying to create an extended gallery for...
    3. imagemagick
      I need some help with imagemagick how is it possible to resize a pic to a fixed size (640x480) and if the image is too small (640x400) to fill up...
    4. Win98, PHP, and Imagemagick
      I've been fighting with this for three days. Can anyone give me a clue as to what I need to do to make this script work? Win98 (first edition),...
    5. imagemagick via fink, still no go
      I installed fink, then did sudo apt-get install imagemagick That failed because I don't have xfree86 installed (I really only need the command...
  3. #2

    Default Re: ImageMagick & cfexecute

    Try this one instead of CFEXECUTE

    [url]http://www.cftagstore.com/tags/cfxexec.cfm[/url]

    Mr Black Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 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 57 58 59 60 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 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139