TCPDF2DBarcode::getBarcodePNG( $w = 3, $h = 3, $color = array(0, 0, 0) )
Send a PNG image representation of barcode (requires GD or Imagick library).
Description Description
Parameters Parameters
- $w
-
(Optional) (int) Width of a single rectangle element in pixels.
Default value: 3
- $h
-
(Optional) (int) Height of a single rectangle element in pixels.
Default value: 3
- $color
-
(Optional) (array) RGB (0-255) foreground color for bar elements (background is transparent).
Default value: array(0, 0, 0)
Source Source
File: includes/lib/tcpdf/tcpdf_barcodes_2d.php