J-Rios / multicolorcaptcha

Python random image-captcha generator library.
GNU General Public License v3.0
76 stars 17 forks source link

How to choose the text of the captcha? #16

Open 91DarioDev opened 2 days ago

91DarioDev commented 2 days ago

How can we choose the text to use for the captcha ?

J-Rios commented 10 hours ago

Hello,

Do you mean the font used in the images?

Current library implementation loads all fonts that are placed inside the "multicolorcaptcha/fonts" directory at object instantiation. Then, when a captcha image generation is requested, any of this fonts are randomly selected and used.