I am running ImageMagick through IIS server.
I give a web browser a local url to a source file DEMO.ASP and this works as expected and displays testing in the browser:
Code: Select all
<%@ Language=PerlScript %>
<%
use strict;
use Win32::ASP;
use vars qw( $Response );
my $tile = 'testing';
use Win32::OLE::Variant;
$Response->BinaryWrite(Win32::OLE::Variant->new(VT_UI1,$tile));
%>
error '80004005'
Internal Error
Code: Select all
<%@ Language=PerlScript %>
<%
use strict;
use Win32::ASP;
use vars qw( $Response );
my $tile = 'testing';
use Image::Magick;
use Win32::OLE::Variant;
$Response->BinaryWrite(Win32::OLE::Variant->new(VT_UI1,$tile));
%>
Code: Select all
#!c:/perl/bin/perl.exe
use strict;
my $tile = "testing";
use Image::Magick;
use CGI qw(:standard -nph);
print header("text/html");
print $tile;