title: Full body preview using the Minecraft class
body: <p>I have developed a class for Minecraft in PHP, one of the most recent additions to the functions is a skin preview but I am having a little trouble working out the codes for the full body preview (head preview works fine), the code I am using for the head preview is as follows...</p>
  
  <pre><code>header('Content-Type: image/png');
  $canvas = imagecreatetruecolor($size, $size);
  $image = imagecreatefrompng($this-&gt;custom_skin($username));
  imagecopyresampled($canvas, $image, 0, 0, 8, 8, $size, $size, 8, 8);
  return imagepng($canvas);
  </code></pre>
  
  <p><a href="https://github.com/nblackburn/minecraft/blob/master/class.minecraft.php" rel="nofollow">https://github.com/nblackburn/minecraft/blob/master/class.minecraft.php</a></p>
  
  <p>Any contributions would be a huge help to get this full body preview working.</p>