title: How do I fix this error with ImageMagick?
body: <p>I'm using ImageMagick to convert a RAW file (*.nef extension) into a JPEG image. I'm actually doing this from within PHP, but not using the IMagick extension (I spent too much time banging my head against a wall trying to get that working that eventually I just gave up). Instead, I'm using PHP's <code>exec()</code> function to call ImageMagick from the command line and just do the manipulations there.</p>
  
  <p>Anyways, I wrote a simple PHP script to do this -- to convert the NEF image into a JPEG image -- and it worked! I ran it through a number of tests. When the JPEG didn't exist, it created it. When the JPEG already did exist, it overwrote it. Perfect!</p>
  
  <p>Until today. I made that script last Friday. Today (Monday), when it tried to use it, it stopped working. I literally changed <strong>nothing</strong> about it, but a couple days later it's failing all the same tests that I ran on Friday. I can retrieve the output from the command line, and these are the errors it's encountering this time around:</p>
  
  <pre><code>Magick: `%s' (%d) dcraw.exe -4 -w -O "C:/Windows/TEMP/magick-iDvVnHw-.ppm" "C:/Windows/TEMP/magick-hYeYwWRd" @ error/utility.c/SystemCommand/2094.
  Magick: delegate failed `dcraw.exe -4 -w -O "%u.ppm" "%i"' @ error/delegate.c/InvokeDelegate/1058.
  Magick: unable to open image `C:/Windows/TEMP/magick-iDvVnHw-.ppm': No such file or directory @ error/blob.c/OpenBlob/2588.
  Magick: missing an image filename `E:\test.jpg' @ error/convert.c/ConvertImageCommand/3015.
  </code></pre>
  
  <p>These errors didn't show up on Friday. Why are they showing up now? What do they mean? And what can I do about them? Thanks in advance.</p>