NAME

SVG::Barcode::EAN8

VERSION

version 0.9

SYNOPSIS

use SVG::Barcode::EAN8;

my $ean8 = SVG::Barcode::EAN8->new;
my $svg     = $ean8->plot('12345670');

# use as function
use SVG::Barcode::EAN8 'plot_ean8';

my $svg = plot_ean8('12345670', %params);

DESCRIPTION

SVG::Barcode::EAN8 is a generator for SVG based EAN8 barcodes. It uses GD::Barcode::EAN8 to create the barcode data.

NAME

SVG::Barcode::EAN8 - Generator for SVG based EAN8 barcodes

FUNCTIONS

plot_ean8

use SVG::Barcode::EAN8 'plot_ean8';

$svg = plot_ean8($text, %params);

Returns an EAN8 barcode using the provided text and parameters.

CONSTRUCTOR

new

Creates a new EAN8 plotter. Inherited from SVG::Barcode.

METHODS

plot

Creates a SVG code. Inherited from SVG::Barcode.

PARAMETERS

This module uses the same parameters as SVG::Barcode::UPCA.

AUTHOR & COPYRIGHT

© 2025 by bwarden (Brett T. Warden).

This program is free software, you can redistribute it and/or modify it under the terms of the Artistic License version 2.0.

SEE ALSO

SVG::Barcode, GD::Barcode::EAN8.

AUTHOR

bwarden

COPYRIGHT AND LICENSE

This software is Copyright (c) 2025 by bwarden@cpan.org.

This is free software, licensed under:

The Artistic License 2.0 (GPL Compatible)