$img->Border(geometry=>"1x1",width=>1,height=>1,color=>'red');