Documentation ¶ Index ¶ func Encode(w io.Writer, images ...image.Image) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Encode ¶ func Encode(w io.Writer, images ...image.Image) error Encode one or more images into an .icns. At least one image must be provided. macOS recommends providing 1024x1024, 512x512, 256x256, 128x128, 64x64, 32x32, and 16x16. Note that sizes other than these will not be considered valid. Types ¶ This section is empty. Source Files ¶ View all Source files encoder.go Click to show internal directories. Click to hide internal directories.