Versions in this module Expand all Collapse all v1 v1.0.2 Jul 10, 2021 Changes in this version + type Stream struct + func EncodeGif(img *gif.GIF) Stream + func EncodeImage(img image.Image) Stream + func NewStream(stream io.Reader) Stream + func (st *Stream) Bytes() []byte + func (st *Stream) DecodeGif() *gif.GIF + func (st *Stream) DecodeImage() image.Image + func (st *Stream) FileExt() string + func (st *Stream) IsGif() bool + func (st *Stream) IsJpg() bool + func (st *Stream) IsPng() bool + func (st *Stream) Read(b []byte) (n int, err error)