Image::Identicon_ja - Identicon イメージの生成
Version 0.03
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\r\n\r\n"; print $image->{image}->png;
エクスポートされる関数はありません.
identicon を生成するためのオブジェクトを生成.
$opts->{size} - image size (width and height) $opts->{code} - 32bit integer code
identicon イメージの生成. ハッシュリファレンスを返します. $result->{image} に GD::Image インスタンスが返されます.
IP アドレスから 32bit identicon コードを算出します.
32bit identicon コードから必要な情報を展開します.
GD と Digest::SHA を利用しています.
山科 氷魚 (YAMASHINA Hio), <hio at cpan.org>
<hio at cpan.org>
バグや要望は bug-image-identicon at rt.cpan.org 宛に 報告してください. 若しくは http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Image-Identicon. にある web インターフェースからでもかまいません. そこから私に通知され, そして私が変更を行うことで報告頂いたバグの進捗を 自動的にあなたに伝えるでしょう.
bug-image-identicon at rt.cpan.org
このモジュールのドキュメントは perldoc コマンドで見ることが出来ます.
perldoc Image::Identicon
また, 以下の場所でも見ることが出来ます:
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Image-Identicon
CPAN Ratings
http://cpanratings.perl.org/d/Image-Identicon
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Image-Identicon
Search CPAN
http://search.cpan.org/dist/Image-Identicon
http://clair.hio.jp/~hio/identicon/
identicon のオリジナルの実装は Don Park によります. 感謝.
http://www.docuverse.com/blog/donpark/2007/01/18/visual-security-9-block-ip-identification
Copyright 2007 YAMASHINA Hio, all rights reserved.
このプログラムはフリーソフトウェアです。あなたは Perl と同じ ライセンスの 元で再配布及び変更を行うことが出来ます.
To install Image::Identicon, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Image::Identicon
CPAN shell
perl -MCPAN -e shell install Image::Identicon
For more information on module installation, please visit the detailed CPAN module installation guide.