38 sub get_barcode_file
{
42 my $qrcode = Imager
::QRCode
->new(
44 margin
=> $self->margin,
45 version
=> $self->version,
46 level
=> $self->level,
48 lightcolor
=> Imager
::Color
->new(255, 255, 255),
49 darkcolor
=> Imager
::Color
->new(0, 0, 0),
51 my $barcode = $qrcode->plot( $self->text );
52 $barcode->write(file
=> $file);