Constructor.
EAN13
EAN13
($numbers $numbers, [$barHeight $barHeight = 35])
-
$numbers
$numbers: the 12-digit or 13-digit number to turn into a barcode. If 12 digits are provided, the checksum is automatically generated. If 13 are provided, the first digit is considered to be the checksum and must be valid.
-
$barHeight
$barHeight: the height of the bars in pixels
Outputs a PNG image of the barcode
void
output
()