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

Adjust Barcode Width Resolution #4

Open
ericbarnes222 opened this issue Jan 20, 2015 · 1 comment
Open

Adjust Barcode Width Resolution #4

ericbarnes222 opened this issue Jan 20, 2015 · 1 comment

Comments

@ericbarnes222
Copy link

This is an awesome plugin that took no time to implement, and I'll be giving it a test later to see if it works as expected (in terms of the scanners reading the barcode properly, not so much the barcode itself not being correct).

I do have a question, though: Is there a way to change the width of the barcode?

I'm using this in an application developed to be used solely from a mobile phone. I have quite a high-resolution screen (1440px wide), but even for the 720px screen, it would be nice to widen it so that it remains clear and scanner-readable.

For the time being, I'm just resizing the image to fit 95% of the screen, but if there is a way to do it in code so it renders sharply, that'd be better.

Thanks!

@MFlor
Copy link

MFlor commented Jan 31, 2015

Hi,
I forked his script and added a scaling functionality, so that you can upscale the printed barcode.
Check it out at:
https://github.com/MFlor/php-barcode

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

2 participants