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


Image-TextMode documentation  | view source Contained in the Image-TextMode distribution.

Index


NAME

Top

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

DESCRIPTION

Top

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

Top

* 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

Top

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

Top

The following methods are proxies to sauce.

* author
* title
* group
* has_sauce

AUTHOR

Top

Brian Cassidy <bricas@cpan.org>

COPYRIGHT AND LICENSE

Top


Image-TextMode documentation  | view source Contained in the Image-TextMode distribution.