summaryrefslogtreecommitdiff
path: root/lib/webx_type.pm
blob: 9d1d6cb4bb744fbb95e1ac8316a24ab29e0f609a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
package webx_type;

use 5.010;
use strict;
use warnings;

=head1 NAME

webx_type - Tells you some info about webm/webp files.

=head1 VERSION

Version 0.01

=cut

our $VERSION = '0.01';


=head1 SYNOPSIS

$ webx_type <files...>

=head1 USAGE

webx_type <files...>

Files can be any file and the script will return the bytes it read if it cannot detect using magic bytes in the file header. If it can use the magic bytes, then it tells you what file type it is.

=head1 RETURNED INFO

For webm: VP8, VP9, or google/video-file.
For webp: Whether the file is Lossless or not.

=head1 AUTHOR

Jake Thoughts, C<< <jake at jakes-mail.top> >>

=head1 BUGS

Please report any bugs or feature requests to the author.

=head1 SUPPORT

You can find documentation for this module with the perldoc command.

    perldoc webx_type

=head1 LICENSE AND COPYRIGHT

This software is Copyright (c) 2022 by Jake Thoughts.

This is free software, licensed under:

  The GNU General Public License, Version 3, June 2007


=cut

1; # End of webx_type