Skip to content

Latest commit

 

History

History
50 lines (30 loc) · 1.08 KB

README.md

File metadata and controls

50 lines (30 loc) · 1.08 KB

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