Documentation
¶
Index ¶
Constants ¶
View Source
const ( GIF_TYPE = "image/gif" BMP_TYPE = "image/x-ms-bmp" JPG_TYPE = "image/jpeg" PNG_TYPE = "image/png" )
Variables ¶
View Source
var BMP = []byte("BM")
View Source
var GIF = []byte("GIF")
View Source
var JPG = []byte{0xff, 0xd8, 0xff}
View Source
var PNG = []byte{0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a}
Functions ¶
func GetImageType ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.