(self, size=None)
return self._renderList(self._layers, Image.new("RGB", size))
Render this CAPTCHA, returning a PIL image
Render this CAPTCHA, returning a PIL image
Render this CAPTCHA returning a PIL image
def render(self, size=None):
        """Render this CAPTCHA, returning a PIL image"""
        if size is None:
            size = self.defaultSize
        img = Image.new("RGB", size)
        return self._renderList(self._layers, Image.new("RGB", size))
def render ( self , size = None ) : if size is None : size = self . defaultSize img = Image . new ( "RGB" , size ) return self . _renderList ( self . _layers , Image . new ( "RGB" , size ) )