We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1a8e1ff + c954db6 commit f65d9d2Copy full SHA for f65d9d2
src/Output/QRGdImage.php
@@ -163,6 +163,8 @@ public function dump(string|null $file = null):string|GdImage{
163
// scale down to the expected size
164
$this->image = imagescale($this->image, ($this->length / 10), ($this->length / 10));
165
$this->upscaled = false;
166
+ // Reset scaled and length values after rescaling image to prevent issues with subclasses that use the output from dump()
167
+ $this->setMatrixDimensions();
168
}
169
170
// set transparency after scaling, otherwise it would be undone
0 commit comments