Closed mjmasn closed 9 years ago
+1
The only problem that I have with this PR is that it makes too many unrelated changes to formatting. If these could be reverted so that only the necessary changes are included, I'll happily merge this in.
@neocotic done :)
Great! I'll take a look at this tomorrow night. Sorry for the delay with this.
@mjmasn I've merged your fix and it's been included in v1.1.4 which I've just published. Thanks for all your help!
Sweet, thanks!
Without this patch applied the QR-code will be aligned to the top-left of the output image/canvas. If the QR-code is smaller than the image size, there will be whitespace to the bottom-right of the image. This patch fixes this by calculating an offset to make the whitespace equal on all sides of the QR-code.
Fixes #2