<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">NAME
    Image::Checkerboard - Image generator for checkboards.

SYNOPSIS
     use Image::Checkerboard;

     my $image = Image::Checkerboard-&gt;new(%parameters);
     my $suffix = $image-&gt;create($path);
     my $type = $image-&gt;type($type);

METHODS
  "new"
     my $image = Image::Checkerboard-&gt;new(%parameters);

    Constructor.

    Returns instance of object.

    *       "bg"

             Background color.
             Default value is 'black'.

    *       "flip"

             Flip flag. Means that each next video has reversed foreground and background.
             Default value is 1.

    *       "fg"

             Foreground color.
             Default value is 'white'.

    *       "height"

             Image height.
             Default value is 1080.

    *       "type"

             Image type.
             Possible types are:
             - bmp
             - gif
             - jpeg
             - png
             - pnm
             - raw
             - sgi
             - tga
             - tiff
             Default value is 'bmp'.

    *       "width"

             Image width.
             Default value is 1920.

  "create"
     my $suffix = $image-&gt;create($path);

    Create image.

    Returns scalar value of supported file type.

  "type"
     my $type = $image-&gt;type($type);

    Set/Get image type.

    Returns actual type of image.

ERRORS
     new():
             From Class::Utils::set_params():
                     Unknown parameter '%s'.
     create():
             Cannot write file to '$path'.",
                     Error, %s
             Image type '%s' doesn't supported.

     type():
             Image type '%s' doesn't supported.

EXAMPLE
     use strict;
     use warnings;

     use File::Temp qw(tempfile);
     use Image::Checkerboard;

     # Temporary file.
     my (undef, $temp) = tempfile();

     # Object.
     my $obj = Image::Checkerboard-&gt;new;

     # Create image.
     my $type = $obj-&gt;create($temp);

     # Print out type.
     print $type."\n";

     # Unlink file.
     unlink $temp;

     # Output:
     # bmp

DEPENDENCIES
    Class::Utils, Error::Pure, Imager, Imager::Fill, List::MoreUtils.

SEE ALSO
    Image::Random
        Perl class for creating random image.

    Image::Select
        Perl class for creating random image.

REPOSITORY
    &lt;https://github.com/michal-josef-spacek/Image-Checkerboard&gt;.

AUTHOR
    Michal Josef ﾅ�paﾄ稿k &lt;mailto:skim@cpan.org&gt;

    &lt;http://skim.cz&gt;

LICENSE AND COPYRIGHT
    ﾂｩ 2012-2020 Michal Josef ﾅ�paﾄ稿k

    BSD 2-Clause License

VERSION
    0.05

</pre></body></html>