summaryrefslogtreecommitdiff
path: root/lib/webx_type.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/webx_type.pm')
-rw-r--r--lib/webx_type.pm60
1 files changed, 60 insertions, 0 deletions
diff --git a/lib/webx_type.pm b/lib/webx_type.pm
new file mode 100644
index 0000000..9d1d6cb
--- /dev/null
+++ b/lib/webx_type.pm
@@ -0,0 +1,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