Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sure #3

Open
Joeben349 opened this issue Sep 5, 2022 · 0 comments
Open

Sure #3

Joeben349 opened this issue Sep 5, 2022 · 0 comments

Comments

@Joeben349
Copy link
Owner

Sure

$generator = new BarcodeGeneratorPNG();
$color = [0,0,0];
$code = "0123456";
$img_str = $generator->getBarcode($code, $generator::TYPE_UPC_E,2, 90, $color);
echo '<img src="data:image/png;base64,' . base64_encode($img_str). '">';

Originally posted by @samymassoud in picqer/php-barcode-generator#119 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant