Documentation ¶
Index ¶
- func EncodeGIF(img *image.Image, q int) (io.Reader, error)
- func EncodeJpeg(img *image.Image, q int) (io.Reader, error)
- func EncodePNG(img *image.Image, q int) (io.Reader, error)
- func EncodeWebP(img *image.Image, q int, lossless bool) (io.Reader, error)
- func Set404Image(path string, w uint, h uint, c color.Color, maxW uint, maxH uint) (io.Reader, error)
- type Image
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncodeWebP ¶ added in v1.4.0
Types ¶
type Image ¶
type Image struct {
// contains filtered or unexported fields
}
func (*Image) ConvertColor ¶ added in v1.2.3
Click to show internal directories.
Click to hide internal directories.