line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Image::ThumbHash; |
2
|
1
|
|
|
1
|
|
233486
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
29
|
|
3
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
31
|
|
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
5
|
use Exporter 5.57 qw(import); |
|
1
|
|
|
|
|
29
|
|
|
1
|
|
|
|
|
77
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
our $VERSION = '0.02'; |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
our $_BACKEND = 'PP'; |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
use Image::ThumbHash::PP |
12
|
1
|
|
|
|
|
92
|
our @EXPORT_OK = qw( |
13
|
|
|
|
|
|
|
rgba_to_thumb_hash |
14
|
|
|
|
|
|
|
rgba_to_png |
15
|
|
|
|
|
|
|
rgba_to_data_url |
16
|
|
|
|
|
|
|
thumb_hash_to_rgba |
17
|
|
|
|
|
|
|
thumb_hash_to_average_rgba |
18
|
|
|
|
|
|
|
thumb_hash_to_approximate_aspect_ratio |
19
|
|
|
|
|
|
|
thumb_hash_to_data_url |
20
|
1
|
|
|
1
|
|
438
|
); |
|
1
|
|
|
|
|
3
|
|
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
1 |
23
|
|
|
|
|
|
|
__END__ |