Skip to content

Background-Color #121

Answered by codemasher
felix-d1strict asked this question in Q&A
Mar 19, 2022 · 3 comments · 11 replies
Discussion options

You must be logged in to vote

Hey,

i think i should add a bit documentation what QROptions::$imageTransparent actually does.

  • In GdImage mode (png, gif) it sets imagecolortransparent() with QROptions::$imageTransparencyBG. The part that's not documented is that $imageTransparencyBG also sets the "normal" background color without transparency switch.
  • In SVG mode (as of v5), it won't render the "light" modules, as opacity/transparency can easily be set with css properties.
  • It has no effect in the FPDF and Imagick output modules.

Replies: 3 comments 11 replies

Comment options

You must be logged in to vote
4 replies
@felix-d1strict
Comment options

@codemasher
Comment options

@felix-d1strict
Comment options

@codemasher
Comment options

Answer selected by felix-d1strict
Comment options

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

Comment options

You must be logged in to vote
6 replies
@robsonvitor
Comment options

@codemasher
Comment options

@codemasher
Comment options

@robsonvitor
Comment options

@codemasher
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #120 on March 19, 2022 08:35.