NAME
    FML::String::Banner::Image - generate a banner by using GD library.

SYNOPSIS
        use FML::String::Banner::Image;
        my $banner = new FML::String::Banner::Image;
        my $png    = $banner->as_png($_string);

        use FileHandle;
        my $wh = new FileHandle "> /var/tmp/test.png";
        if (defined $wh) {
            $wh->binmode();
            $wh->print($png);
            $wh->close();
        }
        else {
            croak("cannot open /var/tmp/test.png");
        }

DESCRIPTION
    See FML::String::Banner CLASS. This class provides the image part of the
    class.

    Currently the image format is PNG only (but extensible if needed).

METHODS
  new()
    constructor.

  as_png($string)
    return a generated banner as PNG image.

CODING STYLE
    See "http://www.fml.org/software/FNF/" on fml coding style guide.

AUTHOR
    Ken'ichi Fukamachi

COPYRIGHT
    Copyright (C) 2008 Ken'ichi Fukamachi

    All rights reserved. This program is free software; you can redistribute
    it and/or modify it under the same terms as Perl itself.

HISTORY
    FML::String::Banner::Image appeared in fml8 mailing list driver package.
    See "http://www.fml.org/" for more details.

