Skip to content
 
 

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mini-Me

Inspired by the old minecraft skin generator website, you can generate little mini-mes from a Minecraft skin. This program supports both 64x64 and 128x128 skins, but nothing else.

Usage

Standalone program

You can run the example program by running go run cmd/main.go and providing an input and output file. For example:

# Generating a mini-me for a non-slim skin
go run cmd/main.go steve.png steve-mini.png

# Generating a mini-me for a slim skin
go run cmd/main.go alex.png alex-mini.png slim

Using in a project

First run go get github.com/twistedasylummc/minime to install the dependency. You can then use one of the following methods to generate a mini-me:

  • minime.Skin64(src image.Image) (dst image.Image)
  • minime.Skin128(src image.Image, slim bool) (dst image.Image)

The Skin128 method takes an additional boolean parameter for if the skin is slim, meaning the arms are 3 pixels wide instead of 4. This boolean adjusts the positions of the pixels used on the arms to produce the best result.

About

Generate mini-me avatars from a Minecraft skin

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages