NAME

Ascii::Text::Image - module for generating images using ASCII text.

VERSION

Version 0.01

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");

    ...

SUBROUTINES/METHODS

new

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

my $ascii = Ascii::Text::Image->new(
	imager_font => 'path/to/RobotoMono.ttf',
	padding => 100,
);

see Ascii::Text documentation for inheritance.

ATTRIBUTES

padding

set/get padding for the image.

$ascii->padding(10);

imager_font

set/get imager ttf font.

$ascii->imager_font('path/to/RobotoMono.ttf');

AUTHOR

LNATION, <email at lnation.org>

BUGS

Please report any bugs or feature requests to bug-ascii-text-image at rt.cpan.org, or through the web interface at https://rt.cpan.org/NoAuth/ReportBug.html?Queue=Ascii-Text-Image. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc Ascii::Text::Image

You can also look for information at:

ACKNOWLEDGEMENTS

LICENSE AND COPYRIGHT

This software is Copyright (c) 2024 by LNATION.

This is free software, licensed under:

The Artistic License 2.0 (GPL Compatible)