- COPYRIGHT AND LICENSE
Image::ANSIMation - Load, create, manipulate and save ANSI animation (ANSIMation) files
use Image::ANSI::ANSIMation; # Read in a file... my $anim = Image::ANSIMation->new( file => 'file.ans' ); # Image width and height my $w = $anim->width; my $h = $anim->height; # export it as a gif animation my $gif = $anim->as_gif;
This module allows you to load, create and manipulate files made up of ANSI escape codes, much like Image::ANSI, except that it can be composed of many frames creating an animation.
Creates a new ANSIMation. Currently only reads in data.
# filename $anim = Image::ANSIMation->new( file => 'file.ans' ); # file handle $anim = Image::ANSIMation->new( handle => $handle ); # string $anim = Image::ANSIMation->new( string => $string );
Reads in ANSI data.
Writes the ANSI data to a file, filehandle or string.
Returns the ANSI output as a scalar.
Adds another frame to the animation
Returns an array ref of frames.
Returns an integer of the current position in the array of frames.
Return the next frame in the sequence and add 1 to the
Returns the width of the animation.
Returns the height of the animation.
Return the animation as an animated gif.
Brian Cassidy <firstname.lastname@example.org>
Copyright 2004-2009 by Brian Cassidy
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.