Small barcode tweaks

This commit is contained in:
snipe 2017-10-07 07:15:28 -07:00
parent ed8efbe759
commit a69a939034

View file

@ -673,7 +673,8 @@ class AssetsController extends Controller
return response()->file($barcode_file, $header);
} else {
$barcode = new \Com\Tecnick\Barcode\Barcode();
$barcode_obj = $barcode->getBarcodeObj($settings->alt_barcode, $asset->asset_tag, 250, 20);
$barcode_obj = $barcode->getBarcodeObj($settings->alt_barcode,$asset->asset_tag,300,50);
file_put_contents($barcode_file, $barcode_obj->getPngData());
return response($barcode_obj->getPngData())->header('Content-type', 'image/png');
}