python 绘制动态二维码
程序员文章站
2022-03-21 13:55:54
...
MyQR绘制动态二维码
# -*- coding: utf-8 -*-
"""
@author: xuan
@time: 2021/07/16 15:00
@FileName: 生成二维码.PY
"""
from MyQR import myqr
myqr.run(
words='https://blog.csdn.net/xxy_yang?spm=1001.2101.3001.5343',
version=5,
level='H',
picture='D:/ChromeCoreDownloads/b7e0ab4ce4aca9aec12e8f2e5646ea39.gif', # 动态图片存储路径
colorized=True,
contrast=1.0,
brightness=1.0,
save_name='tu4.gif', # 绘制二维码保存路径
)