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
Hello Mr @casperbakker,
I have one suggestions, because when I used Your library (very very thanks for that) we found a very big problem in our 1D scanner.
When we present barcode in dark mode (night mode) web browser change background to dark and outer lines are not readable.
It is possible to add param like:
$generator = new Picqer\Barcode\BarcodeGeneratorJPG(); $generator->useGd(); $generator->setMargin(10); $result = $generator->getBarcode($inputValue, $generator::TYPE_CODE_128, 4, 120, $color = array(0, 0, 0)); header('Content-Type: image/png'); echo $result;
or
$setMargin = 10; $result = $generator->getBarcode($inputValue, $generator::TYPE_CODE_128, 4, 120, $color = array(0, 0, 0),$setMargin);
Its very important issue.
Thank You
The text was updated successfully, but these errors were encountered:
Maybe we will add something after version 3 is launched (see #198), but that will take some time.
In the mean time you can show some white border around the image with HTML/CSS, same way you show the red numbers on top.
Sorry, something went wrong.
Hi
I added in HTML/css but web browser removed this
If you added a background, that is usually ignored when printing. But a white "border" should work while printing.
Setting the background is now supported in 3.1: https://github.com/picqer/php-barcode-generator/releases/tag/v3.1.0
No branches or pull requests
Hello Mr @casperbakker,
I have one suggestions, because when I used Your library (very very thanks for that) we found a very big problem in our 1D scanner.
When we present barcode in dark mode (night mode) web browser change background to dark and outer lines are not readable.
It is possible to add param like:
$generator->setMargin(10);
or
Its very important issue.
Thank You
The text was updated successfully, but these errors were encountered: