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.

          Source Files

          Directories

          Path Synopsis