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

Problem showing barcode #188

Open
RafyMrX opened this issue Feb 21, 2024 · 2 comments
Open

Problem showing barcode #188

RafyMrX opened this issue Feb 21, 2024 · 2 comments

Comments

@RafyMrX
Copy link

RafyMrX commented Feb 21, 2024

Screenshot_5
<img src="data:image/png;base64,{{DNS2D::getBarcodePNG( $produk->barcode,'PDF417')}}" alt="" width="200" height="60">
I have a problem when displaying barcode, I am using windows 11. before this the code working fine, but now when I run it I get an error as shown above.

@yuxxeun
Copy link

yuxxeun commented Mar 25, 2024

your code seems lil wrong, try this <img src="data:image/png;base64, {!! base64_encode(DNS2D::getBarcodePNG($produk->barcode, 'PDF417')) !!}" alt="" width="200" height="60">

@adhamnugroho
Copy link

adhamnugroho commented May 9, 2024

my answer on this issues

#191

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

3 participants