my $rep = new Image::Template('invoice.png'); $rep->param(account => '123123123', name => 'Don Quixote'); $rep->savefile('filled.png');