Skip to content

Images of height/width larger than size 23 not working #552

@fteodoro803

Description

@fteodoro803

Anytime I made the image height/width 23 or higher, with excavate being on, the QR code stopped being scannable

<ReactQRCode
  value={"https://www.wikipedia.org/"}
  imageSettings={{
    src: "/icons/queue-icon.png",
    height: 23,
    width: 23,
    excavate: true,
  }}
  marginSize={2}
/>

I'm not knowledgeable with how QR codes work, but my hunch is because the image margins/borders overlap with some data modules

EDIT: with a lot of other values/links I've tried, it seems to work perfectly fine. It's particularly the Wikipedia link that seems to not work

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions