Versions in this module Expand all Collapse all v0 v0.1.0 Dec 11, 2020 Changes in this version + const ImageFormatPNG v0.0.0 Dec 9, 2020 Changes in this version + const ImageFormatGIF + const ImageFormatJPEG + type Image struct + Format ImageFormat + Image image.Image + IsThumbnail bool + Name string + func DecodeImage(src []byte, name string, isThumbnail bool) (*Image, error) + func (i *Image) CreateThumbnail(rate float64) (*Image, error) + func (i *Image) Encode() ([]byte, error) + type ImageFormat uint8 + func (f *ImageFormat) UnmarshalText(text []byte) error + func (f ImageFormat) String() string