Imager::IMBarcode::JP - Japan's Intelligent Mail Barcode Generator
use Imager::IMBarcode::JP;
my $imbjp = Imager::IMBarcode::JP->new(
zipcode => '1234567',
address => '1-23-45-B709',
);
my $imager = $imbjp->draw;
$imager->write(file => '/path/to/barcode.png') or die $imager->errstr;
This is a generator of intelligent mail barcode in Japan (called "Customer Barcode") which is consisted by Japan Post.
-
zipcode
allows only 7 digit numbers.
-
address
allows some numbers, hyphens and alphabets.
-
draw
generates IM barcode and returns Imager object. the generated image has 300 dpi.
Koichi Taniguchi (a.k.a. nipotan) taniguchi@cpan.org
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
- Customer Barcode Manual https://www.post.japanpost.jp/zipcode/zipmanual/
- Imager Imager