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


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

Index


Code Index:

NAME

Top

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

DESCRIPTION

Top

The Tundra format.

ACCESSORS

Top

* header - A header hashref containing a version number and id

METHODS

Top

new( %args )

Creates a Tundra instance.

extensions( )

Returns 'tnd'.

AUTHOR

Top

Brian Cassidy <bricas@cpan.org>

COPYRIGHT AND LICENSE

Top


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

package Image::TextMode::Format::Tundra;

use Moose;

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

has 'header' => (
    is      => 'rw',
    isa     => 'HashRef',
    default => sub { { int_id => 24, id => 'TUNDRA24' } }
);

has '+render_options' => ( default => sub { { truecolor => 1 } } );

sub extensions { return 'tnd' }

no Moose;

__PACKAGE__->meta->make_immutable;

1;