You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
修改一下image.py文件,里面的create_captcha_image函数,内容修改为我这个样子,就可以增加间距了
for c in chars:
if random.random() > 0.5:
images.append(_draw_character(" "))
else: # 修改 增加字体间距
images.append(_draw_character(" "))
images.append(_draw_character(c))
请教一下,如果我想增加一下各个字符之间的间距,增加前
增加后
这样子的仅从距离来说:忽略内容
是否有好的方案,调整过font_size的参数,或者字符之间添加几个空格,都不大满足需求
The text was updated successfully, but these errors were encountered: