Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RandomLightColor ¶
RandomLightColor returns a random light color.
func RandomText ¶
RandomText returns a generated string in given number of random characters.
Types ¶
type Complexity ¶
type Complexity int
const ( ComplexityLow Complexity = iota ComplexityMedium ComplexityHigh )
type Image ¶
type Image struct {
// contains filtered or unexported fields
}
Image is a captcha image.
func CreateImage ¶
CreateImage creates and returns a new image with given width, height, DPI, background color and additional options.
Click to show internal directories.
Click to hide internal directories.