The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Vector::QRCode::EPS - A generator class for vector data of QRCode

SYNOPSIS

use Vector::QRCode::EPS;


my $ps = Vector::QRCode::EPS->generate(
    text   => 'Hello, world!',
    colour => [255, 0, 0], 
    bgcolour => [150, 150, 150],
    transparent => 0,
    size   => 6,
    unit   => 'cm',
);
$ps->output('qrcode.ps');

DESCRIPTION

Vector::QRCode::EPS is a generator that returns a QRCode data as PostScript::Simple object.

REQUIREMENT

You have to install libqrencode into your host before installing this module.

METHODS

generate

Returns a PostScript::Simple object that contains a vector data of QRCode.

$ps_obj = Vector::QRCode::EPS->generate(%options);

Options are followings.

LICENSE

Copyright (C) ytnobody.

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

AUTHOR

ytnobody ytnobody@gmail.com

SEE ALSO

libqrencode

PostScript::Simple

Text::QRCode