I have wrtten image creation code using Image::Magick
This works ok on my test machine running under apache and win32, however when I run it under apache/linux I get the dreaded :"Premature end of script headers: " in the error logs.
I've chmoded the script 755, uploaded in ascii
=============the code=============
===============================#!/usr/local/bin/perl # # Make simple beveled button and output to STDOUT in GIF format # # to embed this image in a web page, use: # img src="imagedemo.pl" use Image::Magick; #print "Content-type: image/gif\n\n"; # #$image = Image::Magick->new; #$image->Set(size=>'30x180'); #$image->Read("gradient:#ff0000-#0000ff"); #$image->Raise('3x3'); #$image->Rotate(-90); #$image->Write('gif:-'); exit(0);
My host tells me that image magick is installed; the script falls at the use statement uncommented above..
any meditative thoughts??
In reply to Problem using Image::Magick by nanji
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |