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 ['xx@gsomeemail.com','xg@someother.com']
email=('rpie.@some.com'),
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')
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 ['xx@gsomeemail.com','xg@someother.com']
email=('rpie.@some.com'),
url =[
'https://www.amazon.com',
'https://www.google.com',
],
phone='+1111111111',
# extra items that can be used per testing - originated by chatgpt
)
img = vcard.to_pil(scale=6, dark="#FF7D92").rotate(45, expand=True)
img.save('contact1.png')