ico

package
v0.0.0-...-3f99f61 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2021 License: MIT, Unlicense Imports: 7 Imported by: 0

Documentation

Overview

ico format encoding. Modified from https://github.com/wailsapp/wails project.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromPNG

func FromPNG(dst io.Writer, src image.Image) error

FromPNG generates an ico from a source png and encodes it into an arbitrary reader.

Types

type Container

type Container struct {
	Header Descriptor
	Data   []byte
}

type Descriptor

type Descriptor struct {
	// contains filtered or unexported fields
}
type Header struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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