Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Decode ¶
func Decode(reader ContentReader, filename string) (image.Image, error)
Decode 从包内容读取器中读取并解码栅格图像。
func ExtractFirstImage ¶
ExtractFirstImage 从基于 ZIP 的文件中提取第一张可以解码的图片。
Types ¶
type ContentReader ¶
ContentReader 提供读取文件解压后内容的能力。
Click to show internal directories.
Click to hide internal directories.