Versions in this module Expand all Collapse all v0 v0.2.0 Sep 27, 2017 Changes in this version + func ImageDecode(img *Image) image.Image + type Color struct + Alpha uint32 + Blue uint32 + Green uint32 + Red uint32 + func ColorEncode(c color.Color) *Color + func (*Color) Descriptor() ([]byte, []int) + func (*Color) ProtoMessage() + func (m *Color) GetAlpha() uint32 + func (m *Color) GetBlue() uint32 + func (m *Color) GetGreen() uint32 + func (m *Color) GetRed() uint32 + func (m *Color) Reset() + func (m *Color) String() string + type Image struct + Data []byte + Height int64 + Stride int64 + Width int64 + func ImageEncode(img image.Image) *Image + func (*Image) Descriptor() ([]byte, []int) + func (*Image) ProtoMessage() + func (m *Image) GetData() []byte + func (m *Image) GetHeight() int64 + func (m *Image) GetStride() int64 + func (m *Image) GetWidth() int64 + func (m *Image) Reset() + func (m *Image) String() string + type ImageOrResource struct + Image *Image + Path string + func (*ImageOrResource) Descriptor() ([]byte, []int) + func (*ImageOrResource) ProtoMessage() + func (m *ImageOrResource) GetImage() *Image + func (m *ImageOrResource) GetPath() string + func (m *ImageOrResource) Reset() + func (m *ImageOrResource) String() string + type ImageProperties struct + Height int64 + Scale float64 + Width int64 + func (*ImageProperties) Descriptor() ([]byte, []int) + func (*ImageProperties) ProtoMessage() + func (m *ImageProperties) GetHeight() int64 + func (m *ImageProperties) GetScale() float64 + func (m *ImageProperties) GetWidth() int64 + func (m *ImageProperties) Reset() + func (m *ImageProperties) String() string