Documentation ¶
Index ¶
- Constants
- Variables
- func Decode(r io.Reader, opts ...imaging.DecodeOption) (image.Image, error)
- func DecodeWebp(r io.Reader) (image.Image, error)
- func EncodeJpeg(w io.Writer, img image.Image) error
- func EncodeStripped(w io.Writer, img image.Image, quality int) error
- func EncodeWebp(w io.Writer, img image.Image) error
- func Open(filename string) (image.Image, error)
- func OpenWebp(filename string) (image.Image, error)
- func ReSizeImage(rb []byte, extName string, isABC bool, ...) (err error)
- func Resize(img image.Image, width, height int) *image.NRGBA
Constants ¶
View Source
const ( JPEG imaging.Format = iota PNG GIF TIFF BMP WEBP )
Variables ¶
View Source
var ( JpegHeader = []byte{}/* 623 elements not displayed */ 0xFF, 0xD9, } )
Functions ¶
func ReSizeImage ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.