Versions in this module Expand all Collapse all v1 v1.0.1 Nov 23, 2022 Changes in this version + func LimitFileSize(maxSize int64, w http.ResponseWriter, r *http.Request) + type Image struct + ContentType string + Data []byte + Filename string + Size int + func Process(r *http.Request, field string) (*Image, error) + func ThumbnailJPEG(i *Image, width int, height int, quality int) (*Image, error) + func ThumbnailPNG(i *Image, width int, height int) (*Image, error) + func (i *Image) DataURI() string + func (i *Image) Save(filename string) error + func (i *Image) ThumbnailJPEG(width int, height int, quality int) (*Image, error) + func (i *Image) ThumbnailPNG(width int, height int) (*Image, error) + func (i *Image) Write(w http.ResponseWriter) v1.0.0 Nov 22, 2022