Glad you got it sorted out. here's some example usage of the Image::Magick function.
it's not that new v6!!
Code:
use Image::Magick;
$p = new Image::Magick;
$p->Read("imagefile");
$p->Set(attribute => value, ...)
($a, ...) = $p->Get("attribute", ...)
$p->routine(parameter => value, ...)
$p->Mogrify("Routine", parameter => value, ...)
$p->Write("filename");
www.crmpicco.co.uk
www.ie7.com