mops1k/minecraftskinview

Minecraft skin preview converter (support HD skins and capes)

1.0 2017-01-31 23:24 UTC

This package is auto-updated.

Last update: 2024-10-29 04:14:46 UTC


README

Minecraft skin preview converter (support HD skins and capes)

Installation

composer require mops1k/minecraftskinview

Usage example

use Minecraft\SkinView;

require_once './vendor/autoload.php';

$skinView = new SkinView();
$skinView
    ->setWaySkin('img_for_test/hd_skin.png')
    ->setWayCloak('img_for_test/hd_cape.png')
    ->setSaveSkin('save/full_hd_all.png')
    ->setSaveHead('save/head.png')
;

$skinView
    ->saveHead()
;

$skinView
    ->savePreview()
;