ImageSettings
These are the properties you can use to customize the image in the QR Code.
Prop | Type | Description | Default | Required | Possible Values |
---|---|---|---|---|---|
src | string | The URI of the embedded image. | Yes | ||
width | number | The width, in pixels, of the image. | Yes | ||
height | number | The height, in pixels, of the image. | Yes | ||
excavate | boolean | Remove the modules around the embedded image. | false | No | true false |
x | number | The horizontal offset of the embedded image, starting from the top left corner. | center | No | |
y | number | The vertical offset of the embedded image, starting from the top left corner. | center | No | |
opacity | number | The opacity of the embedded image in the range | 1 | No | 0-1 |