Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Encode ¶
func Encode(w io.Writer, src image.Image, o webpoptions.EncodingOptions) error
Encode encodes src into w considering the options in o.
Any src that isn't one of *image.RGBA, *image.NRGBA, or *image.Gray will be converted to *image.NRGBA using draw.Draw first.
Types ¶
Click to show internal directories.
Click to hide internal directories.