line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Image::TextMode::Format::Bin; |
2
|
|
|
|
|
|
|
|
3
|
3
|
|
|
3
|
|
4123
|
use Moo; |
|
3
|
|
|
|
|
46869
|
|
|
3
|
|
|
|
|
19
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
extends 'Image::TextMode::Format', 'Image::TextMode::Canvas'; |
6
|
|
|
|
|
|
|
|
7
|
1
|
|
|
1
|
1
|
351
|
sub extensions { return 'bin' } |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
=head1 NAME |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
Image::TextMode::Format::Bin - read and write Bin files |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
=head1 DESCRIPTION |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
The Bin format is essentially a raw VGA video dump. It is a sequence of |
16
|
|
|
|
|
|
|
character and attribute byte pairs. It holds no width information, so any |
17
|
|
|
|
|
|
|
images over 80 columns will have to be described in an alternate way (i.e. |
18
|
|
|
|
|
|
|
via SAUCE metadata). |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=head1 METHODS |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head2 new( %args ) |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
Creates a Bin instance. |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head2 extensions( ) |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
Returns 'bin'. |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=head1 AUTHOR |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
Brian Cassidy Ebricas@cpan.orgE |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
Copyright 2008-2014 by Brian Cassidy |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
This library is free software; you can redistribute it and/or modify |
39
|
|
|
|
|
|
|
it under the same terms as Perl itself. |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=cut |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
1; |