Brian Cassidy > Image-TextMode > Image::TextMode::Format::XBin

Download:
Image-TextMode-0.23.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source  

NAME ^

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

DESCRIPTION ^

XBin stands for "eXtended BIN" -- an extention to the normal raw-image BIN files.

XBin features:

XBin file stucture:

    +------------+
    | Header     |
    +------------+
    | Palette    |
    +------------+
    | Font       |
    +------------+
    | Image Data |
    +------------+

Note, the only required element is a header. See the XBin specs for for information. http://www.acid.org/info/xbin/xbin.htm

ACCESSORS ^

METHODS ^

new( %args )

Creates a XBin instance.

has_palette( )

Retrieves palette status from the flag byte in the header.

has_font( )

Retrieves font status from the flag byte in the header.

is_compressed( )

Retrieves compressed status from the flag byte in the header.

is_non_blink( )

Retrieves non-blink status from the flag byte in the header.

has_fivetwelve_chars( )

Retrieves 512 character font status from the flag byte in the header.

extensions( )

Returns 'xb', 'xbin'.

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.

syntax highlighting: