PHP code example of mops1k / minecraftskinview
1. Go to this page and download the library: Download mops1k/minecraftskinview library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
mops1k / minecraftskinview example snippets
use Minecraft\SkinView;
w();
$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()
;