step1: загрузить qrcode pi c из: https://mp.weixin.qq.com/cgi-bin/showqrcode?ticket=gQEG8DwAAAAAAAAAAS5odHRwOi8vd2VpeGluLnFxLmNvbS9xLzAyWjFZeHBkWlNkNUQxMDAwMGcwN1MAAgRYdS1dAwQAAAAA как использовать:
curl -o qrcode.jpeg https://mp.weixin.qq.com/cgi-bin/showqrcode?ticket=gQEG8DwAAAAAAAAAAS5odHRwOi8vd2VpeGluLnFxLmNvbS9xLzAyWjFZeHBkWlNkNUQxMDAwMGcwN1MAAgRYdS1dAwQAAAAA
step2: загрузить pi c
$ret = createimagefromjpeg("qrcode.jpeg");
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ---------- 7: 0 ----------
======================= 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ------- --- 8: 0 ----------