Documentation
¶
Index ¶
- func Decode(r io.Reader) (image.Image, error)
- func DecodeAll(r io.Reader) ([]image.Image, error)
- func DecodeConfig(r io.Reader) (image.Config, error)
- func DetectImageFormat(filePath string) (string, error)
- func DetectImageFormatByte(imageData []byte) (string, error)
- func Encode(w io.Writer, im image.Image) error
- func ReadData(data uintptr, count uint32) []byte
- func RootPath() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DetectImageFormat ¶
DetectImageFormat 检测图片真实格式
func DetectImageFormatByte ¶
DetectImageFormatByte 检测图片真实格式
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package draw provides image composition functions.
|
Package draw provides image composition functions. |
|
math
|
|
|
f32
Package f32 implements float32 vector and matrix types.
|
Package f32 implements float32 vector and matrix types. |
|
f64
Package f64 implements float64 vector and matrix types.
|
Package f64 implements float64 vector and matrix types. |
|
fixed
Package fixed implements fixed-point integer types.
|
Package fixed implements fixed-point integer types. |
Click to show internal directories.
Click to hide internal directories.