Skip to content

Background on imageWithLogo #122

Answered by codemasher
oehoe asked this question in Q&A
Mar 29, 2022 · 2 comments · 5 replies
Discussion options

You must be logged in to vote

Ok, i think I've found the culprit. I've added a line to ensure the circular dots are actually round on low scales (scale <= 20) - internally it scales the image up, draws the dots and scales it back to the expected size - all while using the IMG_BICUBIC filter - which is what messes with the background color. So try to set QROptions::$scale to a value greater than 20 or set QROptions::$drawCircularModules to false.
Alternatively i would recommend to use the SVG output for more crisp circles and colors. :)

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
1 reply
@oehoe
Comment options

Comment options

You must be logged in to vote
4 replies
@codemasher
Comment options

@oehoe
Comment options

@oehoe
Comment options

@codemasher
Comment options

Answer selected by oehoe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants