ico

package
v0.0.0-...-7c3cb44 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 24, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(r io.Reader) (image.Image, error)

Decode 返回图标中包含的最大图像,可能是BMP或PNG

func DecodeConfig

func DecodeConfig(r io.Reader) (image.Config, error)

DecodeConfig 只返回最大图像的尺寸包含在图标中而不解码整个图标文件。

func Encode

func Encode(w io.Writer, im image.Image) error

func FindBestIcon

func FindBestIcon(entries []*icondirEntry) *icondirEntry

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL