Documentation ¶
Index ¶
Constants ¶
View Source
const ( RGBMESSAGE = "RgbMessage" RGBTOIMAGE = "RgbToImage" )
Variables ¶
Functions ¶
Types ¶
type ImageService ¶
type ImageService struct { Function string Commands []interface{} }
ImageService 结构体
func (*ImageService) GetResult ¶
func (img *ImageService) GetResult(fuction string, commands ...interface{}) (res interface{}, err error)
GetResult 获取图像服务结果
func (*ImageService) GetRgbMessage ¶
func (img *ImageService) GetRgbMessage(commands []interface{}) (res RgbData, err error)
GetRgbMessage 将图片转为rgb并输出数据及图片信息服务调用
func (*ImageService) RgbToImage ¶
func (img *ImageService) RgbToImage(commands []interface{}) (res string, err error)
RgbToImage 将rgb数据转化为图片并输出图片地址
Click to show internal directories.
Click to hide internal directories.