ico

package
v3.12.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package ico registers image.Decode and DecodeConfig support for the icon (container) format.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

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

Decode returns the largest image contained in the icon which might be a bmp or png

func DecodeConfig

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

DecodeConfig returns just the dimensions of the largest image contained in the icon withou decoding the entire icon file.

func ParseIco

func ParseIco(r io.Reader) (*icondir, error)

ParseIco parses the icon and returns meta information for the icons as icondir.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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