Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (11 sloc) 425 Bytes
// generated by stringer -type=ImageType -output=image_type_string.go; DO NOT EDIT
package fastimage
import "fmt"
const _ImageType_name = "GIFPNGJPEGBMPTIFFUnknown"
var _ImageType_index = [...]uint8{0, 3, 6, 10, 13, 17, 24}
func (i ImageType) String() string {
if i+1 >= ImageType(len(_ImageType_index)) {
return fmt.Sprintf("ImageType(%d)", i)
}
return _ImageType_name[_ImageType_index[i]:_ImageType_index[i+1]]
}
You can’t perform that action at this time.