Captcha Image
In the captcha data generated by generate method, the images are in JPEG and PNG formats respectively
JPEGImageData
- Get() image.Image
- ToBytes() []byte
- ToBytesWithQuality(imageQuality int) []byte
- ToBase64() string
- ToBase64WithQuality(imageQuality int) string
- SaveToFile(filepath string, quality int) error
PNGImageData
- Get() image.Image
- ToBytes() []byte
- ToBase64() string
- SaveToFile(filepath string) error