You've already forked amazing-qr
mirror of
https://github.com/x-hw/amazing-qr.git
synced 2025-07-13 01:20:29 +02:00
31
README-cn.md
31
README-cn.md
@ -4,8 +4,7 @@
|
||||
|
||||
[](https://github.com/x-hw)  [](#请杯咖啡--打赏) [](#请杯咖啡--打赏)
|
||||
|
||||
[*back to English*](https://github.com/hwxhw/amzqr/blob/master/README.md)
|
||||
|
||||
[*back to English*](https://github.com/x-hw/amazing-qr/blob/master/README.md)
|
||||
|
||||
## 概述
|
||||
|
||||
@ -31,15 +30,15 @@
|
||||
|
||||
## 示例
|
||||
|
||||

|
||||

|
||||
|
||||

|
||||

|
||||
|
||||

|
||||

|
||||
|
||||

|
||||

|
||||
|
||||

|
||||

|
||||
|
||||
|
||||
## 安装
|
||||
@ -73,7 +72,7 @@ amzqr Words
|
||||
|
||||
#### 普通二维码
|
||||
|
||||

|
||||

|
||||
|
||||
```markdown
|
||||
#1 Words
|
||||
@ -110,9 +109,9 @@ amzqr https://github.com -n github_qr.jpg -d .../paths/
|
||||
|
||||
`-d` 控制位置。
|
||||
|
||||
#### 艺术二维码
|
||||
#### 艺术二维码
|
||||
|
||||

|
||||

|
||||
|
||||
```markdown
|
||||
#1 -p
|
||||
@ -139,7 +138,7 @@ amzqr https://github.com -p github.jpg [-c] -con 1.5 -bri 1.6
|
||||
|
||||
#### 动态GIF二维码
|
||||
|
||||

|
||||

|
||||
|
||||
动态二维码与上述的带图片的二维码的生成方法没什么区别,你只要采用 `.gif` 格式的图片即可生成黑白或者彩色的动态二维码。但**注意**如果使用了 `-n` 参数自定义输出的文件名,切记其格式也必须是 `.gif` 格式。
|
||||
|
||||
@ -184,9 +183,9 @@ Optional parameters
|
||||
|
||||
* 建议在图片尺寸大的时候使用 `-v` 的值也应该**适当**变大。
|
||||
|
||||
* 如果图片有透明无色部分,最终效果是:
|
||||
* 如果图片有透明无色部分,最终效果是:
|
||||
|
||||
你可以将透明部分修改成白色,最终效果会变成
|
||||
你可以将透明部分修改成白色,最终效果会变成
|
||||
|
||||
## 可用字符
|
||||
|
||||
@ -211,9 +210,11 @@ Optional parameters
|
||||
## 请杯咖啡 / 打赏
|
||||
|
||||
微信:
|
||||

|
||||
|
||||
<img src="https://github.com/x-hw/amazing-qr/blob/master/example/wechatpay.jpg" width = "124" height = "116" alt="wechatpay" align=center />
|
||||
|
||||
or
|
||||
|
||||
支付宝:
|
||||

|
||||
|
||||
<img src="https://github.com/x-hw/amazing-qr/blob/master/example/alipay_qrcode.png" width = "132" height = "132" alt="alipay" align=center />
|
||||
|
19
README.md
19
README.md
@ -4,7 +4,8 @@
|
||||
|
||||
[](https://github.com/x-hw)  [](#buy-me-a-coffee--sponsor) [](#buy-me-a-coffee--sponsor)
|
||||
|
||||
[*转到中文版*](https://github.com/hwxhw/amzqr/blob/master/README-cn.md)
|
||||
|
||||
[*转到中文版*](https://github.com/x-hw/amazing-qr/blob/master/README-cn.md)
|
||||
|
||||
## Overview
|
||||
|
||||
@ -72,7 +73,7 @@ amzqr Words
|
||||
|
||||
#### Common QR-Code
|
||||
|
||||

|
||||

|
||||
|
||||
```markdown
|
||||
#1 Words
|
||||
@ -114,7 +115,7 @@ amzqr https://github.com -n github_qr.jpg -d .../paths/
|
||||
|
||||
#### Artistic QR-Code
|
||||
|
||||

|
||||

|
||||
|
||||
|
||||
```markdown
|
||||
@ -149,7 +150,7 @@ amzqr https://github.com -p github.jpg [-c] -con 1.5 -bri 1.6
|
||||
|
||||
#### Animated GIF QR-Code
|
||||
|
||||

|
||||

|
||||
|
||||
The only difference from Artistic QR-Code mentioned above is that you should input an image file in the `.gif` format. The you can get your black-and-white or colorful qr-code. Remember that when you use `-n` to customize the output-filename, then the output-filename must end by `.gif`.
|
||||
|
||||
@ -197,9 +198,9 @@ Optional parameters
|
||||
|
||||
* If the size of the picture is large, you should also choose a **rightly** large `-v` instead of using the default one.
|
||||
|
||||
* If part of the picture is transparent, the qr code will look like: 
|
||||
* If part of the picture is transparent, the qr code will look like: 
|
||||
|
||||
You can change the transparent layer to white, and then it will look like: 
|
||||
You can change the transparent layer to white, and then it will look like: 
|
||||
|
||||
## Supported Characters
|
||||
|
||||
@ -224,9 +225,11 @@ Optional parameters
|
||||
## Buy me a coffee / Sponsor
|
||||
|
||||
wechat:
|
||||

|
||||
|
||||
<img src="https://github.com/x-hw/amazing-qr/blob/master/example/wechatpay.jpg" width = "124" height = "116" alt="wechatpay" align=center />
|
||||
|
||||
or
|
||||
|
||||
alipay:
|
||||

|
||||
|
||||
<img src="https://github.com/x-hw/amazing-qr/blob/master/example/alipay_qrcode.png" width = "132" height = "132" alt="alipay" align=center />
|
||||
|
Reference in New Issue
Block a user