PHP code example of shockedplot7560 / minecraft-skin-converter
1. Go to this page and download the library: Download shockedplot7560/minecraft-skin-converter 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/ */
shockedplot7560 / minecraft-skin-converter example snippets
$skin = new ShockedPlot7560\minecraftskin\Skin("a/path/to/file");
Exporter::exportPng($skin, "path/to/head/skin", Exporter::HEAD_TYPE);