iconize

command module
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2023 License: MIT Imports: 11 Imported by: 0

README

iconize - Convert images to Windows icon files

iconize is a command line tool to convert an images to a multisize Windows icon file.

Go Report Card Go Reference

Install

go install github.com/typomedia/iconize@latest

Usage

iconize [options] [file]

Options

-o, --out string   output ico file
-h, --help         display help
-V, --version      display version

Example

iconize icon.png -o icon.ico

iconize < icon.png > test.ico

Test

icotool -l icon.ico 
--icon --index=1 --width=256 --height=256 --bit-depth=32 --palette-size=0
--icon --index=2 --width=128 --height=128 --bit-depth=32 --palette-size=0
--icon --index=3 --width=64 --height=64 --bit-depth=32 --palette-size=0
--icon --index=4 --width=48 --height=48 --bit-depth=32 --palette-size=0
--icon --index=5 --width=32 --height=32 --bit-depth=32 --palette-size=0
--icon --index=6 --width=24 --height=24 --bit-depth=32 --palette-size=0
--icon --index=7 --width=16 --height=16 --bit-depth=32 --palette-size=0

Copyright © 2023 Typomedia Foundation. All rights reserved.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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