NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Wednesday March 16, 2005
I had planned on making some changes to Image::ANSI eventually, but an email from statico, who's cadubi project saves ANSI files, convinced me to hurry them along.
You can now use custom fonts and palettes when converting files to PNG. By doing this i've also done away with the legacy 80x50 and 80x25 terminology. To use "80x50" mode just use the 8x8 font:
$ansi->as_png( mode => 'full', font => 'Image::ANSI::Font::8x8' );
For no-fuss conversions, use the ans2png program:
ans2png file.ans > file.png
The documenation is still pretty lack-luster -- that'll be my next task.
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.