:octocat: QRInterventionImage: fix deprecation error

This commit is contained in:
smiley
2024-06-22 21:05:33 +02:00
parent 39b54c8568
commit 4c204491f5
+5 -1
View File
@@ -93,7 +93,11 @@ class QRInterventionImage extends QROutputAbstract{
$this->image->fill($this->getDefaultModuleValue(false));
if($this->options->imageTransparent && $this::moduleValueIsValid($this->options->transparencyColor)){
$this->image->setBlendingColor($this->prepareModuleValue($this->options->transparencyColor));
$this->manager
->driver()
->config()
->setOptions(blendingColor: $this->prepareModuleValue($this->options->transparencyColor))
;
}
if($this::moduleValueIsValid($this->options->bgColor)){