Image::TextMode::Format::ANSIMation - read and write ANSIMation files


Image-TextMode documentation Contained in the Image-TextMode distribution.

Index


Code Index:

NAME

Top

Image::TextMode::Format::ANSIMation - read and write ANSIMation files

DESCRIPTION

Top

ANSIMation is an pseudo-format whereby the ANSI is displayed at a slow enough rate so that it appears to animate the image. This module simulates this by assuming a position(0,0) command is the start of a new "frame" in the sequence.

METHODS

Top

new( %args )

Creates a ANSIMation instance.

extensions( )

Returns an empty list.

AUTHOR

Top

Brian Cassidy <bricas@cpan.org>

COPYRIGHT AND LICENSE

Top


Image-TextMode documentation Contained in the Image-TextMode distribution.

package Image::TextMode::Format::ANSIMation;

use Moose;

extends 'Image::TextMode::Format', 'Image::TextMode::Animation';

use Image::TextMode::Palette::ANSI;

has '+palette' => ( default => sub { Image::TextMode::Palette::ANSI->new } );

sub extensions { return }

no Moose;

__PACKAGE__->meta->make_immutable;

1;