NAME
App::Image::Generator - Perl class for image-generator application.
SYNOPSIS
use App::Image::Generator;
my $obj = App::Image::Generator->new;
my $exit_code = $obj->run;
METHODS
new
my $obj = App::Image::Generator->new;
Constructor.
Returns instance of object.
run
my $exit_code = $obj->run;
Run.
Returns exit code.
ERRORS
new():
Bad size value.
Value: %s
From Class::Utils:
Unknown parameter '%s'.
run():
Cannot create image.
EXAMPLE
use strict;
use warnings;
use App::Image::Generator;
# Run.
App::Image::Generator->new->run;
# Output like:
# Usage: __SCRIPT__ [-h] [-i input_dir] [-s size] [-v]
# [--version] output_file
#
# -h Print help.
# -i input_dir Input directory with images (default value is nothing).
# -s size Size (default value is 1920x1080).
# -v Verbose mode.
# --version Print version.
DEPENDENCIES
English, Error::Pure, File::Basename, Getopt::Std, Image::Random, Image::Select, Readonly.
SEE ALSO
- App::Video::Generator
-
Perl class for video-generator application.
REPOSITORY
https://github.com/michal-josef-spacek/App-Image-Generator.
AUTHOR
Michal Josef Špaček mailto:skim@cpan.org
LICENSE AND COPYRIGHT
© 2015-2023 Michal Josef Špaček
BSD 2-Clause License
VERSION
0.05