https://github.com/potatomaster101/headsvg
Quick and dirty Minecraft player head to SVG converter
https://github.com/potatomaster101/headsvg
golang minecraft minecraft-skin svg
Last synced: about 1 month ago
JSON representation
Quick and dirty Minecraft player head to SVG converter
- Host: GitHub
- URL: https://github.com/potatomaster101/headsvg
- Owner: PotatoMaster101
- License: mit
- Created: 2021-11-06T15:51:24.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-03-08T09:20:16.000Z (over 3 years ago)
- Last Synced: 2025-11-11T08:32:39.383Z (9 months ago)
- Topics: golang, minecraft, minecraft-skin, svg
- Language: Go
- Homepage:
- Size: 10.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Head SVG
Quick and dirty Minecraft player head to SVG converter. Can be used to generate player head icons.
## Usage
```
headsvg [-h|--help] -n|--name "" [-s|--scale ] [-p|--percent]
Arguments:
-h --help Print help information
-n --name Player username
-s --scale SVG pixel scale. Default: 100
-p --percent Whether to output x/y/width/height as a percentage. Default: false
```
## Building
```
$ go build -ldflags '-s -w' cmd/headsvg/headsvg.go
```
## Running Unit Tests
```
$ go test ./...
```
## Examples
```
$ headsvg -n PotatoMaster101 -s 50 > PotatoMaster101.svg
```