Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Skin Converter png to Binary

Comments in 'Resources' started by korado531m7, May 14, 2016.

  1. korado531m7
    Offline

    korado531m7 Active Member

    Joined:
    Apr 4, 2015
    Posts:
    158
    Minecraft User:
    korado531m7
    Hi. PocketMine can set the Skin with setSkin().
    But, the setSkin need Binary data.

    PHP:
    setSkin($str$skinName)
    the $str is not the image file so must be a string.

    So I created the converter that png image to binary data.
    You can convert and use the binary for setSkin.


    http://korado.s602.xrea.com/service/pngconverter-eng.php
    AndrewBit and MyNameIsTriXz like this.
  2. shigo
    Offline

    shigo New Member

    Joined:
    May 7, 2016
    Posts:
    3
    Minecraft User:
    shigo
    so good!
  3. korado531m7
    Offline

    korado531m7 Active Member

    Joined:
    Apr 4, 2015
    Posts:
    158
    Minecraft User:
    korado531m7
    Thanks
  4. Tim // robske Büba
    Offline

    Tim // robske Büba Notable Member

    Joined:
    Feb 26, 2014
    Posts:
    606
    Minecraft User:
    robske_110
    is there any way you'll publish the sourc of that converting process? I would be interested in making a /setSkin <PcPlayerName> command
    thebigsmileXD and SOFe like this.
  5. korado531m7
    Offline

    korado531m7 Active Member

    Joined:
    Apr 4, 2015
    Posts:
    158
    Minecraft User:
    korado531m7
    You want to know this process code?
  6. SOFe
    Offline

    SOFe Banned

    Joined:
    May 28, 2016
    Posts:
    386
    Minecraft User:
    Herobrine

Share This Page

Advertisement