Skip to content

url info not importing via QR vCard #119

@Torvicio

Description

@Torvicio

Here is the code I used. The contact1.png works, and when I use "Android Lens", it asks to save the info, but it does not import the website url info: I have not tested it on iPhone.

import segno
from segno import helpers

vcard = segno.helpers.make_vcard(
name='Pie;Rasberry',
displayname='Rasberry Pie',
# email can be multiple values, seperated by commas or make ['[email protected]','[email protected]']
email=('[email protected]'),
url =[
'https://www.amazon.com',
'https://www.google.com',
],
phone='+1111111111',
# extra items that can be used per testing - originated by chatgpt

title = 'Boss',
org = 'MyBiz-NotYours',

)

img = vcard.to_pil(scale=6, dark="#FF7D92").rotate(45, expand=True)
img.save('contact1.png')

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