Text::Convert::ToImage

Text::Convert::ToImage is a Perl module.
Download

Text::Convert::ToImage Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Harry Jackson
  • Publisher web site:
  • http://search.cpan.org/~harry/Text-Convert-ToImage/lib/Text/Convert/ToImage.pm

Text::Convert::ToImage Tags


Text::Convert::ToImage Description

Text::Convert::ToImage is a Perl module. Text::Convert::ToImage is a Perl module.SYNOPSIS use Text::Convert::ToImage; my $tti = Text::Convert::ToImage->new(); my $length = length($email); if ($length > 150) { $email = "Your text length of $length is too large:"; } my $config = { TEXT => $email ? $email : "y@hn.org", POINTSIZE => $point_size ? $point_size : 14, LEVEL => $level ? $level : 0, FONT => $font, XSKEW => $xskew, YSKEW => $yskew, }; $tti->calculate($config); print "Content-type: image/pngnn"; binmode STDOUT; $tti->Write('png:-');This was knocked up a long time ago and someone asked me if the source was available so I decided to put it on CPAN. There is very little documentation with it.There are also very few tests. If more than me and the person who asked for the module use it then I will write some tests for it.At the moment I have been using it top obfuscate emails and not much else. A demo can be found at http://www.hjackson.org/cgi-bin/tools/email.plThere are some undocumented features to this module and they are this way because I have not tested to see if they work yet. Requirements: · Perl


Text::Convert::ToImage Related Software