Skip to content

Commit 79b519d

Browse files
committed
Add Base64 encoded image demo and description
+ Base64 encoded image demo and description
1 parent e810cb2 commit 79b519d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,13 +227,13 @@ var qrcode = new QRCode(options);
227227
| **quietZone** | N | Number | `0` | Quiet Zone size |
228228
| **quietZoneColor** | N | String | `transparent` | Background CSS color to Quiet Zone |
229229
| Logo options| --- | ---|---|---|
230-
| **logo** | N | String | `undefined` | Logo Image Path. If use relative address, relative to `easy.qrcode.min.js` |
230+
| **logo** | N | String | `undefined` | Logo Image Path or Base64 encoded image. If use relative address, relative to `easy.qrcode.min.js` |
231231
| **logoWidth** | N | Number | `undefined` | Height |
232232
| **logoHeight** | N | Number | `undefined` | Width |
233233
| **logoBackgroundTransparent** | N | Boolean | `false` | Whether the background transparent image(`PNG`) shows transparency. When `true`, `logoBackgroundColor` is invalid |
234234
| **logoBackgroundColor** | N | String | `#ffffff` | Set Background CSS Color when image background transparent. Valid when `logoBackgroundTransparent` is `false` |
235235
| Backgroud Image options| ---|--- |---|---|
236-
| **backgroundImage** | N | String | `undefined` | Background Image Path. If use relative address, relative to `easy.qrcode.min.js` |
236+
| **backgroundImage** | N | String | `undefined` | Background Image Path or Base64 encoded image. If use relative address, relative to `easy.qrcode.min.js` |
237237
| **backgroundImageAlpha** | N | Number | `1.0` | Background image transparency. Ranges: `0-1.0` |
238238
| **autoColor** | N | Boolean | `false` | Automatic color adjustment |
239239
| Posotion Pattern Color options| --- | ---|---|---|

0 commit comments

Comments
 (0)