(self, chars, output, format='png')
return im.save(output, format=format)
Generate and write an image CAPTCHA data to the output.

        :param chars: text to be generated.
        :param output: output destination.
        :param format: image file format
Generate and write an image CAPTCHA data to the output.
Generate and write an image CAPTCHA data to the output .
def write(self, chars, output, format='png'):
        """Generate and write an image CAPTCHA data to the output.

        :param chars: text to be generated.
        :param output: output destination.
        :param format: image file format
        """
        im = self.generate_image(chars)
        return im.save(output, format=format)
def write ( self , chars , output , format = 'png' ) : im = self . generate_image ( chars ) return im . save ( output , format = format )