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.
1 parent 22869ae commit c954db6Copy full SHA for c954db6
src/Output/QRGdImage.php
@@ -163,6 +163,8 @@ public function dump(string $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