Comments (5)
@DASPRiD I have had quite a few users ask about this down stream as well. I looked over #10 and I agree that the background color should be white by default. If I go ahead and make a pull request with the requested change, can we get this merged in?
Thanks :)
from baconqrcode.
I guess so. I'd say that we could alternatively offer RGBA as a color (at least for the outputs, which supports it. I'm not sure whether CMYKA would make any sense, would have to think about that.
from baconqrcode.
RGBA sounds like a better approach. EPS, PNG, would be able to support alpha channels. SVG may be able to through the use of fill-opacity
?
from baconqrcode.
SVG supports style="fill: rgba();"
just fine.
from baconqrcode.
But as said, Gray and CMYK would have to allow alpha channels as well for consistency.
from baconqrcode.
Related Issues (20)
- BaconQrCode\Encoder\Encoder Not found issue in Laravel 8 HOT 3
- Is BaconQRCode working with PHP 8.2.1? HOT 1
- Somtimes weird renderings HOT 4
- Implicit conversion from float to int HOT 3
- Caught exception: Could not encode content to H
- Very poor quality rounding?
- Slow $writer->writeFile locally, didn't test on the server HOT 3
- [request]: GD support for image generation HOT 6
- Alpha generating an all blank qr code. HOT 3
- How to use transparent background?
- Unable to set image format error HOT 1
- BUG? on this line $j is always 0, isn't this meant to be $i ? or actually 0? HOT 2
- Generating Qr Code
- Division by zero error HOT 1
- Broken style when exporting rounded qr code as eps
- BaconQrCode does not work correctly with Cyrillic alphabet. HOT 1
- Does anyone know how to Achieve different type of shapes or bits except Square or circle.
- RegistryKeyLookupFailed `CoderModulesPath' @ error/module.c/GetMagickModulePath/667 {"userId":1,"exception":"[object] (ImagickException(code: 495): RegistryKeyLookupFailed `CoderModulesPath' @ error/module.c/GetMagickModulePath/667 at C:\\Users\\XavierPalacín\\Projects\\engel\\vendor\\bacon\\bacon-qr-code\\src\\Renderer\\Image\\ImagickImageBackEnd.php:75) HOT 1
- Kanji Mode QR code is broken
- Use of deprecated constant MT_RAND_PHP in tests HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from baconqrcode.