山科 氷魚 (YAMASHINA Hio) > Image-Identicon-0.01 > Image::Identicon

Download:
Image-Identicon-0.01.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: 0.01   Source   Latest Release: Image-Identicon-0.03

NAME ^

Image::Identicon - Generate Identicon image

SEE ALSO ^

https://clair.hio.jp/~hio/identicon/

http://www.docuverse.com/blog/donpark/2007/01/18/visual-security-9-block-ip-identification

LICENSE ^

GPL2 or free?

VERSION ^

Version 0.01

SYNOPSIS ^

  use Image::Identicon;
  my $identicon = Image::Identicon->new(salt=>$salt);
  my $image = $identicon->render(); # or pass 32bit integer.
        
        print "Content-Type: image/png\r\n";
        binmode(*STDOUT);
        print $image->{image}->png;

EXPORT ^

no functions exported.

METHODS ^

$pkg->new({ salt=>$salt })

Create generator.

$identicon->render()

Render Image. Returns hashref. $result->{image} will be GD::Image instance.

$identicon->identicon_code()

calculate 32bit Identicon code from IP address.

AUTHOR ^

YAMASHINA Hio, <hio at cpan.org>

BUGS ^

Please report any bugs or feature requests to bug-image-identicon at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Image-Identicon. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT ^

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

    perldoc Image::Identicon

You can also look for information at:

ACKNOWLEDGEMENTS ^

COPYRIGHT & LICENSE ^

Copyright 2007 YAMASHINA Hio, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation.