Start captcha image creation.
Optional
width: number = defaultDimension.widthWidth of captcha image.
Optional
height: number = defaultDimension.heightHeight of captcha image.
Optional
characters: number = ...Size of captcha text.
Protected
_Protected
_Protected
_Protected
_Protected
_Protected
_Protected
_Protected
_Get png image of captcha.
Get png image of captcha created.
Get Captcha text.
Get captcha text.
Add decoy on your captcha image.
Optional
decoyOption: SetDecoyOption = {}Decoy option you want to customise
Draw captcha text on captcha image.
Optional
captchaOption: DrawCaptchaOption | DrawCaptchaOption[] = {}Draw trace line over your captcha.
Note: If you want to use custom text or change size of captcha text then drawCaptcha before drawTrace.
Optional
traceOption: SetTraceOption = {}
Captcha Generator