Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
x-hw committed Sep 5, 2016
1 parent 83eeecb commit 32aa7bb
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 5 deletions.
26 changes: 21 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,21 @@ The only one difference from Artistic QR-Code mentioned above is that you should



## Tips

* Use a **square** picture instead of a rectangle one.

请采用**正方形**的图片

* If part of picture is transparent, the qr code will be like: ![](https://github.com/sylnsfar/qrcode/blob/master/example/aa.png)

You can change it into white, then be like: ![](https://github.com/sylnsfar/qrcode/blob/master/example/a0.png)


如果图片的模式是 “**RGBA**” 且 A 值为0(即透明无色),最终效果是:![](https://github.com/sylnsfar/qrcode/blob/master/example/aa.png)

你可以将透明部分修改成白色,最终效果会变成![](https://github.com/sylnsfar/qrcode/blob/master/example/a0.png)



Expand All @@ -166,18 +181,19 @@ The only one difference from Artistic QR-Code mentioned above is that you should
· , . : ; + - * / \ ~ ! @ # $ % ^ & ` [ ] ( ) ? _ { } | and (space)
```




## Dependences 依赖库

* Python 3
* pillow
* numpy
* [imageio](https://pypi.python.org/pypi/imageio)



## System 系统

* Linux
* Windows
## Environment 运行环境

* Linux, Python 3
* Windows, Python 3
Binary file added example/a0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added example/aa.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 32aa7bb

Please sign in to comment.