codemasher пре 5 година
родитељ
комит
9cabb83ad3
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      examples/QRImageWithLogo.php

+ 1 - 1
examples/QRImageWithLogo.php

@@ -55,7 +55,7 @@ class QRImageWithLogo extends QRImage{
 		$w = imagesx($im);
 		$w = imagesx($im);
 		$h = imagesy($im);
 		$h = imagesy($im);
 
 
-		// set new logo size, leave a border of 1 module
+		// set new logo size, leave a border of 1 module (no proportional resize/centering)
 		$lw = ($this->options->logoSpaceWidth - 2) * $this->options->scale;
 		$lw = ($this->options->logoSpaceWidth - 2) * $this->options->scale;
 		$lh = ($this->options->logoSpaceHeight - 2) * $this->options->scale;
 		$lh = ($this->options->logoSpaceHeight - 2) * $this->options->scale;