
Image::TextMode::Renderer::GD - A GD-based renderer for text mode images

use Image::TextMode::Format::ANSI;
use Image::TextMode::Renderer::GD;
my $ansi = Image::TextMode::Format::ANSI->new;
$ansi->read( $file );
my $renderer = Image::TextMode::Renderer::GD->new;
# render fullscale version
print $renderer->fullscale( $ansi );
# render thumnail version
print $renderer->thumbnail( $ansi );

This module allows you to render your text mode image though the GD graphics library.

Creates a new instance.
Renders a thumbnail-sized version of the image. This is mostly a pass-through to fullscale() with the resulting image being scaled down to 1 pixel width per 1 character column. Options specific to this method are:
See fullscale for all of the other available options.
Renders a pixel-by-pixel representation of the text mode image. You may use the following options to change the output:

Brian Cassidy <bricas@cpan.org>

Copyright 2008-2013 by Brian Cassidy
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.