Stories
Slash Boxes
Comments
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

use Perl Log In

Log In

[ Create a new account ]

Journal of LTjake (4001)

Wednesday March 16, 2005
11:40 AM

Image::ANSI 0.02

[ #23679 ]

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.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.