public getBarcodePNGUri ( $code, $type, $w = 2, $h = 30, $color = [0, 0, 0] ) : url | ||
$code | (string) code to print | |
$type | (string) type of barcode:
|
|
$w | (int) Width of a single bar element in pixels. | |
$h | (int) Height of a single bar element in pixels. | |
$color | (array) RGB (0-255) foreground color for bar elements (background is transparent). | |
Результат | url | or false in case of error. |