Documentation ¶ Index ¶ Constants func Apply(source, overlay image.Image, offset image.Point) *image.RGBA func Encode(writer io.Writer, source image.Image, format Format) error type Format func Decode(path string) (image.Image, Format, error) Constants ¶ View Source const MaxPixels int64 = 40_000_000 Variables ¶ This section is empty. Functions ¶ func Apply ¶ func Apply(source, overlay image.Image, offset image.Point) *image.RGBA func Encode ¶ func Encode(writer io.Writer, source image.Image, format Format) error Types ¶ type Format ¶ type Format string const ( FormatJPEG Format = "jpeg" FormatPNG Format = "png" ) func Decode ¶ func Decode(path string) (image.Image, Format, error) Source Files ¶ View all Source files image.go Click to show internal directories. Click to hide internal directories.