Ascii-Text-Image

 view release on metacpan or  search on metacpan

lib/Ascii/Text/Image.pm  view on Meta::CPAN

=head1 SYNOPSIS

	use Ascii::Text::Image;

	my $ascii = Ascii::Text::Image->new(
		imager_font => 'path/to/RobotoMono.ttf',
		color => 'green',
		font => 'Poison'
	);

	$ascii->("Hello World", "test.png");

	...

=head1 SUBROUTINES/METHODS

=head2 new

Instantiate a new Ascii::Text::Image object.

	my $ascii = Ascii::Text::Image->new(

t/01-odea.t  view on Meta::CPAN

use Test::More;
use Ascii::Text::Image;
use lib '.';

my $ascii = Ascii::Text::Image->new( color => 'red', imager_font => 't/RobotoMono.ttf' );
$ascii->render("Hello World", "test.png", 1);

ok(1);

done_testing();



( run in 0.605 second using v1.01-cache-2.11-cpan-df04353d9ac )