| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package Image::ThumbHash; |
|
2
|
1
|
|
|
1
|
|
232654
|
use strict; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
29
|
|
|
3
|
1
|
|
|
1
|
|
4
|
use warnings; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
31
|
|
|
4
|
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
5
|
use Exporter 5.57 qw(import); |
|
|
1
|
|
|
|
|
19
|
|
|
|
1
|
|
|
|
|
78
|
|
|
6
|
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
our $VERSION = '0.01'; |
|
8
|
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
our $_BACKEND = 'PP'; |
|
10
|
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
use Image::ThumbHash::PP |
|
12
|
1
|
|
|
|
|
81
|
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
|
|
498
|
); |
|
|
1
|
|
|
|
|
3
|
|
|
21
|
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
1 |
|
23
|
|
|
|
|
|
|
__END__ |