crossicon

command module
v0.0.0-...-8943f2f Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

README

crossicon

Go tool for converting a PNG to ICO and to write the image as a byte slice inside a go file.

Usage

Usage:
  ./crossicon [flags]

Flags:
  -h, --help             help for ./crossicon
      --bytes            Write to bytes files for both unix and windows
      --ico              Write ICO to file
  -i, --input string     Path to PNG input file
  -o, --output string    Prefix for writing output files
  -p, --package string   Package name

Flags input, output and package are mandatory.
Use at least one of --bytes or --ico flags

Credits

PNG to ICO conversion https://github.com/Kodeworks/golang-image-ico
To Bytes array files inspired by https://github.com/cratonica/2goarray

License

Apache License V2

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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