Message text written by "T&C Winquist" > I'm using ImageMagick version 5.4.9 (I installed PerlMagick WITH ImageMagick), ActiveState ActivePerl version 5.6 on Win2k Adv Server running IIS 5.0. I'm trying to display an image using PerlMagick directly to a web browser (without saving the image to a file first).
The strange thing is that the perl script prints out the header and image just fine from a COMMAND PROMPT. However, calling the script from a web browser gives me the error "Exception 425: An error has occurred writing to file (-)" It WILL let me save the image to a file (from the web), it just won't let me 'pipe' the image straight to the browser. It's almost like it's a permissions issue. I have given 'Everyone' full rights to the directory where I opened the image from and where I'm calling the script from, but that didn't help either. Like I said, it works from a command prompt, but not from the web. I thought that maybe IIS has a problem finding the ImageMagick DLL's. However, the only problem with the script is the fact that it doesn't like writing the file to 'gif:-'. Very strange! I don't know what to do. Anyone else have this problem using ImageMagick on Win2k and had been able to find the fix?? < Hi. I'm a long-time user of ImageMagick, ActivePerl, WWW image display applications, and have been many times submitted to the vagaries of IIS and/or Iexplorer. I have been wanting to try PerlMagick for a long time, but somehow never managed to find the module ready to install for Win32. If you can point me to where I can download and install it, I could try your script under WinNT/Apache/ActivePerl 5.6.1 and tell you if it makes any difference. Maybe an idea : I know that ImageMagick uses a temporary directory to write things out when it doesn't have enough memory to process things in ram. Maybe that's what happening, and the user which IIS uses to run your script doesn't have write permission to the temp directory ? (I think usually scripts under IIS run as "IUSR_something"). André Warnier EIS LP [EMAIL PROTECTED] _______________________________________________ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs