Image::ThousandWords

Convert an image to colored HTML text
Download

Image::ThousandWords Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Lee Goddard
  • Publisher web site:
  • http://search.cpan.org/~lgoddard/

Image::ThousandWords Tags


Image::ThousandWords Description

Convert an image to colored HTML text Image::ThousandWords is a Perl module to convert an image to colored HTML text.SYNOPSIS use Image::ThousandWords; my $html = Image::ThousandWords::html( image_path => 'image.jpg', text => 'TurnMeIntoAnImage', }; print "< html >< body bgcolor='white' >$html< /body >< /html > "; exit;Or: use Image::ThousandWords; my $o = Image::ThousandWords->new( text => $text, image_path => 'shakespeare.jpg', whitespace => ' ', line_ends => '< font color=red >•< /font >', font_size => 20, auto_size => 1, size => 400, font_face => "'Courier New'", ); $html = $o->html; print "Content-type:text/html ", $o->wrap_html(background=>'black'); Requirements: · Perl


Image::ThousandWords Related Software