NAME

Image::TextMode::Format - A base class for text mode file formats

DESCRIPTION

This is a base class for all textmode formats. It provides the basic structure for reading and writing, plus provides some defaults for common attributes (e.g. font and palette).

ACCESSORS

  • reader - an instance of a file reader

  • writer - and instance of a file writer

  • font - a font instance

  • palette - a palette instance

  • sauce - a SAUCE metadata object

  • render_options - default options for use when rasterizing the data

METHODS

new( %args )

Creates a new instance.

read( $file, \%options )

Proxies to the reader's read() method.

write( $file, \%options )

Proxies to the writer's write() method.

PROXIED METHODS

The following methods are proxies to sauce.

  • author

  • title

  • group

  • has_sauce

AUTHOR

Brian Cassidy <bricas@cpan.org>

COPYRIGHT AND LICENSE

Copyright 2008-2013 by Brian Cassidy

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.