We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
anyone can help me? how to make this barcode not overflow with the container (border), i just add max-width class on the css, but not working far.
max-width
The text was updated successfully, but these errors were encountered:
In my case i used this in laravel view, and works for me
@php use Milon\Barcode\DNS1D; // Create an instance of the DNS1D class $barcode = new DNS1D(); @endphp <img src="data:image/png;base64, {!! $barcode->getBarcodePNG("$data->id_stok", 'C128') !!}" alt="" width="55" height="55">
Sorry, something went wrong.
You can pass 2 more arguments to specify the width & height
width
height
Eg: DNS2D::getBarcodePNGPath('238338014', 'C128', 2, 2)
DNS2D::getBarcodePNGPath('238338014', 'C128', 2, 2)
No branches or pull requests
anyone can help me? how to make this barcode not overflow with the container (border), i just add
max-width
class on the css, but not working far.The text was updated successfully, but these errors were encountered: