-
Notifications
You must be signed in to change notification settings - Fork 61
Open
Description
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
Labels
No labels