Image::Identicon

Generate Identicon image
Download

Image::Identicon Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • YAMASHINA Hio
  • Publisher web site:
  • http://search.cpan.org/~hio/

Image::Identicon Tags


Image::Identicon Description

Generate Identicon image Image::Identicon is a Perl module to generate identicon images.METHODS$pkg->new({ salt=>$salt })Create identicon generator.$identicon->render(\%opts) $opts->{size} - image size (width and height) $opts->{code} - 32bit integer codeCreate an identicon image. Returns hashref. $result->{image} will be GD::Image instance.$identicon->identicon_code()calculate 32bit Identicon code from IP address.$identicon->decode($code)decode patch information from 32bit integer.SYNOPSIS use Image::Identicon; my $identicon = Image::Identicon->new(salt=>$salt); my $image = $identicon->render(); # or pass 32bit integer. binmode(*STDOUT); print "Content-Type: image/png "; print $image->{image}->png; Requirements: · Perl · Digest::SHA1 · GD


Image::Identicon Related Software