Open wowcut opened 5 years ago
Hi,
$im = $qr->createImage(2, 4);
The first argument of createImage is a size of module in pixel.
thank you.
And second parameter "4" is margin of image.
You have this table from js readme:
createDataURL(cellSize, margin) => string createImgTag(cellSize, margin, alt) => string createSvgTag(cellSize, margin) => string createTableTag(cellSize, margin) => string createASCII(cellSize, margin) => string
In the
sample_image.php
demo I can see how to create an image - but how do I change the size of that created image?