|
|
@@ -32,7 +32,7 @@ class barcodeUtil
|
|
|
public static function barcodeGeneratorPNG($code, $widthFactor = 1.5,$height = 38)
|
|
|
{
|
|
|
$generator = new \Picqer\Barcode\BarcodeGeneratorPNG();
|
|
|
- $barcode = $generator->getBarcodeDiy($code, $generator::TYPE_CODE_128,$widthFactor,$height);
|
|
|
+ $barcode = $generator->getBarcode($code, $generator::TYPE_CODE_128,$widthFactor,$height);
|
|
|
return $barcode;
|
|
|
}
|
|
|
|
|
|
@@ -40,7 +40,7 @@ class barcodeUtil
|
|
|
public static function barcodeGeneratorJPG($code, $widthFactor = 1.5,$height = 38)
|
|
|
{
|
|
|
$generator = new \Picqer\Barcode\BarcodeGeneratorJPG();
|
|
|
- $barcode = $generator->getBarcodeDiy($code, $generator::TYPE_CODE_128,$widthFactor,$height);
|
|
|
+ $barcode = $generator->getBarcode($code, $generator::TYPE_CODE_128,$widthFactor,$height);
|
|
|
return $barcode;
|
|
|
}
|
|
|
|