# Functions
ByteToImg convert []byte to image.Image.
ConvertToRGBA convert the image.Image to *image.RGBA.
Create create a file by path.
Decode decode image from file.
DecodeFile decodes image file.
Destroy destroy the file.
Encode encode image to buf.
EncodeImg encode the image.Image return pix and stride.
GetSize get the image's size.
Height return the image.Image height.
ImgToBytes trans image to []byte.
IsBlack color is black.
ModTime file modified time.
OpenBase64 return a base64 string from image file.
PngToBytes trans png to []byte.
Read read the file return image.Image.
ReadPNG read png return image.Image.
Rename rename file name.
Save create a image file with the image.Image.
SaveByBase64 create a image file from base64 string.
SaveByte []byte to image path.
SaveToJpeg create a jpeg file with the image.Image.
SaveToPNG create a png file with the image.Image.
StrToImg convert base64 string to image.Image.
ToByte convert image.Image to []byte.
ToBytes trans image.Image to []byte.
ToBytesPng trans image.Image to []byte.
ToString convert image.Image to string.
ToStringImg tostring image.Image.
Width return the image.Image width.