本机 iPhone 相机是否允许 vCard-encoded-as-QR-code 包含照片?

Does native iPhone camera allow vCard-encoded-as-QR-code to have PHOTO's?

我一直在以各种方式进行测试,但在扫描二维码时我无法让 vCard PHOTO 呈现。

原生 iPhone 相机 QR reader 允许 base64 编码 PHOTO 吗?

图片文件:

Base64编码的.png图片:

iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAIAAAADnC86AAAAA3NCSVQICAjb4U/gAAAAl3pUWHRSYXcgcHJvZmlsZSB0eXBlIEFQUDEAABiVVY5RCsQwCET/c4oeYdTEJMcJJV0Ky7b0/h+bNHa7fYIjI4y6V/3UY52n/diW9V3d1CFKzmefuQBIGDAgBOqKaJYO1ZwifBvI/IoHPurSKuqs4TSktzxyPMwSbtUyythb1k9Dwf+NcP11wbbjOzOwZEnmPW+RjCdO3BdH2DYTyjfH2QAABONJREFUWIXtV8tvVkUU/50zc+/X+319fA+oLaXlUWMFUYwYIwHRBBWNutDEraxcGN2Y4Ir/wIXuSFy4MCxITEiMwUQWJE3AVDColYKCWFqg7/br43vex8xx8fWSJm0praRN1N/i5N7JzPxmzpzzOzN0/NRBggUERCKEhwUCZHGbADUK0rUfAZEQLe67Ziw1k4CJLISELIMs5pfx8FiXAUEgJCQkzPHe1xHCgNkAYoIAiteZNYZsFDF4HWJqSehKOAiJAAaYuY7I05RiYgILsHQ+roz5UQQRSCSBtRUrZZEAEEBALl26/n1CewCCqDpbzk8UBgemLgzPnNE6U6c6NSXW5BAByJd8EN1iSXZuendrZk+moa2hLq2VtjYqBWWyUjU2IBCzQ0jUxpWC6Ru3f/vxxqm+sS883eyoVsVJwsoBYSWK7Jxvfmdg/45P9z36+vbWLoYDADCC0NiIiBU59Nl52Ng7DpD2DrU3vtqZe6U9uxdI+GHx2u3LvQPnro58GZhhpdKaNjMlmByCAsQishJaW4pk1Bg/lzz8dMc7T247tLP1CYD8KN8/0dOfPztSPFsKb5j42BRAJ3ra4kwWgREpRigZCy14PHu8q/mNbbm9QBLA5NzQ8G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ysemHE5NFm8NzfT+mT85UbmgGZoUczPAgIUokK1RCIggC4mXgzEyagTWgiwSDpqc15JOu1b1AhOG04Xoj0LwU2BACoqgKMXUdB9BrBHrFeMFUIraFAmYawEyE3bngyrmvaSJUswtnlqd+j4IcUwBAZiQALmK7nHUSuyq031tkkmLvled7Rup1f8T/+uJyc6XKiC2awzUxZB5QwusECwAXQqHEbMxQQiaoCjBlP3n1zESa2TEAEZAAhPvThhUDkc0uwQOJSj7xUJlbKL458386eHit1pBs2ZqXv0KTCSjkYECOtMfd2ReyibbU3U5z/EUORYmiCp05erlaugTyHV1Y306k9nUWJ8G4JvJm2MX+sa/Gip8wwrMUJRluADHKsWAQIggQiKAlbyVqrFgoCv3ya7mt7dl9wEuYCbzkzOzk6VyOQwjpeDVpejND1xGEoBIxVjfD5Fr2Hnk+Y8OPnf4sc6nAIR2un/il1vT5+7OnpwL7lAsyTV+S4BALBSQS768Pf3WjuyLbendgFOtln7uu9jdc+Z87+cGcDWYGwgKIGtDeu/YAa75naR2yRIxQTRbqFxPuu1H9n+4/9nDXZ17tHIBRDI3Wx6Zq0yUw0JkSgR2nVTKyTUmm5vqWgAXwGxhqu9ab/fF0z9cOZFwNicTW7ROxWFEJADIkqWjxw4sd1Ai1g8LZf+m71f37Tr6zO4XdnTsfmRTa1NjUyLhOcoVkSDyq9VyfnpqaHTg5uCVnl+/GxjrrvdaPHeLo+uWCQ4S3Jc47mZFOLLlICoGYT40U2EEV0OzJwjDKDIWrgNXtTtOg6MbNOk4eZadUWAfoCyKIsDhpOMmU25zremeAd0ri1hQHFfOggepx4uVhBZMTvftuSz+i1q9ccTr/jCHALSR7+MNeaaSltpNf43P0TVAAGaYvwGacDT8xUxN5gAAAABJRU5ErkJggg==
END:VCARD

生成二维码:

扫描后的呈现方式:

VERSION:3.0之后再添加一行

PRODID:-//Apple Inc.//iPhone OS 12.3.1//EN

并且有效。

QR 生成的完整 VCARD(文本)

BEGIN:VCARD
VERSION:3.0
PRODID:-//Apple Inc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v78wcaWnalUu1aW5aysemHE5NFm8NzfT+mT85UbmgGZoUczPAgIUokK1RCIggC4mXgzEyagTWgiwSDpqc15JOu1b1AhOG04Xoj0LwU2BACoqgKMXUdB9BrBHrFeMFUIraFAmYawEyE3bngyrmvaSJUswtnlqd+j4IcUwBAZiQALmK7nHUSuyq031tkkmLvled7Rup1f8T/+uJyc6XKiC2awzUxZB5QwusECwAXQqHEbMxQQiaoCjBlP3n1zESa2TEAEZAAhPvThhUDkc0uwQOJSj7xUJlbKL458386eHit1pBs2ZqXv0KTCSjkYECOtMfd2ReyibbU3U5z/EUORYmiCp05erlaugTyHV1Y306k9nUWJ8G4JvJm2MX+sa/Gip8wwrMUJRluADHKsWAQIggQiKAlbyVqrFgoCv3ya7mt7dl9wEuYCbzkzOzk6VyOQwjpeDVpejND1xGEoBIxVjfD5Fr2Hnk+Y8OPnf4sc6nAIR2un/il1vT5+7OnpwL7lAsyTV+S4BALBSQS768Pf3WjuyLbendgFOtln7uu9jdc+Z87+cGcDWYGwgKIGtDeu/YAa75naR2yRIxQTRbqFxPuu1H9n+4/9nDXZ17tHIBRDI3Wx6Zq0yUw0JkSgR2nVTKyTUmm5vqWgAXwGxhqu9ab/fF0z9cOZFwNicTW7ROxWFEJADIkqWjxw4sd1Ai1g8LZf+m71f37Tr6zO4XdnTsfmRTa1NjUyLhOcoVkSDyq9VyfnpqaHTg5uCVnl+/GxjrrvdaPHeLo+uWCQ4S3Jc47mZFOLLlICoGYT40U2EEV0OzJwjDKDIWrgNXtTtOg6MbNOk4eZadUWAfoCyKIsDhpOMmU25zremeAd0ri1hQHFfOggepx4uVhBZMTvftuSz+i1q9ccTr/jCHALSR7+MNeaaSltpNf43P0TVAAGaYvwGacDT8xUxN5gAAAABJRU5ErkJggg==
END:VCARD

Google 图表 API 示例(URL 编码的 vCard 数据)

https://chart.googleapis.com/chart?cht=qr&chs=500x500&chl=BEGIN%3AVCARD%0AVERSION%3A3.0%0APRODID%3A-%2F%2FApple%20Inc.%2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