Open malutanpetronel opened 1 year ago
i have the same issue and was able to solve it this way: in file DNS2D, in row 195 comment the line imagecolortransparent($png, $bgcol); and background will be always white.
Also if you need a border, change the lines 188 and 189 to: $width = ($this->barcode_array['num_cols'] $w)+10; $height = ($this->barcode_array['num_rows'] $h)+10;
and lines 220 to: imagefilledrectangle($png, $x+5, $y+5, ($x + ($w-1))+5, ($y + ($h-1))+5, $fgcol);
Hi I have issues displaying a QR code in dark theme on google. Tried to add a 1px CSS background repeat on the div which display that PNG but no success.
Any hints please ?