The image is returned as a file and you can use any GDI+ compatible file type by specifying the appropriate extension (.gif, .jpg, .png etc.). The image is automatically sized based on your font and fontsize. You might have to experiment with the sizing.
Note: This is a static function not a method
GetCaptchaImage(lcText,lcOutputFile,lcFont,lnFontSize)
lcOutputFile
The output file into which the CAPTCHA image is created.
lcFont
The font of the text to display
lnFontSize
The font size of the text to display
Note this is a function not a method of the wwAPI class. This function is simply stored in the wwAPI.prg file.