Skip to content

nipotan/Imager-IMBarcode-JP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NAME

Imager::IMBarcode::JP - Japan's Intelligent Mail Barcode Generator

SYNOPSIS

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;

DESCRIPTION

This is a generator of intelligent mail barcode in Japan (called "Customer Barcode") which is consisted by Japan Post.

METHODS

  • 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.

AUTHOR

Koichi Taniguchi (a.k.a. nipotan) [email protected]

LICENSE

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

SEE ALSO

About

Japan's Intelligent Mail Barcode Generator

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages