File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -163,7 +163,14 @@ trait QROptionsTrait{
163163 /**
164164 * specify whether to draw the modules as filled circles
165165 *
166+ * a note for GDImage output:
167+ *
168+ * if QROptions::$scale is less or equal than 20, the image will be upscaled internally, then the modules will be drawn
169+ * using imagefilledellipse() and then scaled back to the expected size using IMG_BICUBIC which in turn produces
170+ * unexpected outcomes in combination with transparency - to avoid this, set scale to a value greater than 20.
171+ *
166172 * @see https://github.com/chillerlan/php-qrcode/issues/23
173+ * @see https://github.com/chillerlan/php-qrcode/discussions/122
167174 */
168175 protected bool $ drawCircularModules = false ;
169176
You can’t perform that action at this time.
0 commit comments