Versions in this module Expand all Collapse all v0 v0.1.0 Jan 6, 2026 Changes in this version + const BMP + const GIF + const JPEG + const JPG + const PNG + const WEBP + var ErrUnsupportExt = fmt.Errorf("unsupported image extension") + var MontageOpts = montageOptions + func CropCircle(img image.Image) image.Image + func Decode(r io.Reader) (image.Image, error) + func DecodeFile(path string) (image.Image, error) + func DrawPureCircle(color color.RGBA, radius int) image.Image + func DrawPureRect(w, h int, color color.RGBA) image.Image + func DrawText(src image.Image, text string, color color.Color, face font.Face, x, y int) image.Image + func FmtExt(path string) string + func Montage(imgs []image.Image, opts ...MontageOption) image.Image + func NewRGBA(r, g, b, a uint8) color.RGBA + func Resize(width, height uint, img image.Image) image.Image + func Save(img image.Image, path string, options ...Option) error + func Thumbnail(maxWidth, maxHeight uint, img image.Image) image.Image + type Direction int + type MontageOption func(opts *montageOptions) + type Option interface + func DefaultQuality() Option + func HighQulity() Option + func LowQulity() Option + func NewGifOption(numColors int, quantizer draw.Quantizer, drawer draw.Drawer) Option + func NewJpgOption(quality int) Option