Versions in this module Expand all Collapse all v0 v0.9.0 Apr 10, 2024 v0.8.21 Apr 9, 2024 Changes in this version + type ImageType interface + Decode func(input io.Reader) (image.Image, error) + Encode func(w io.Writer, m image.Image) error + type JPEG struct + func (g JPEG) Decode(input io.Reader) (image.Image, error) + func (g JPEG) Encode(w io.Writer, m image.Image) error + type PNG struct + func (g PNG) Decode(input io.Reader) (image.Image, error) + func (g PNG) Encode(w io.Writer, m image.Image) error + type ResizeTypeFn = func(input io.Reader, height uint, width uint) ([]byte, error) v0.8.20 Feb 28, 2024 Changes in this version + func ResizeImage(iType types.Type, input io.Reader, height int, width int) (io.Reader, error) + func ResizeJPEG(input io.Reader, height int, width int) (io.Reader, error) + func ResizePNG(input io.Reader, height int, width int) (io.Reader, error)