Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8130697
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T08:49:10+00:00 2026-06-06T08:49:10+00:00

Basically I’m writing a PHP script that displays a Minecraft skin. I understand that

  • 0

Basically I’m writing a PHP script that displays a Minecraft skin. I understand that the only part of a Minecraft skin that’s able to be transparent is the Mask overlay area, or “Hat”. The script works great until I reach a skin like Notch’s (creator of Minecraft) who has an all black background besides the main body parts. I know that solid black (#000000) can’t be a transparency key because I’ve seen instances where the skin has a black part on the mask, but still transparency. Also, when I open up my personal skin in Photoshop the background area is almost black – #101010 which is RGB(16, 16, 16), but still appears transparent in game. My question is how can I determine if a pixel is transparent for the hat? I may be over thinking this.

Here’s Notch’s Skin –

Mine – enter image description here

Mine in Photoshop –

Could I be wrong about the black transparency key?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T08:49:11+00:00Added an answer on June 6, 2026 at 8:49 am

    An image that contains transparency can have the transparent color set to anything. Most often when I create files like that, I actually make the transparent color garish, like a bright hot pink or something, so that it is obvious. However, the exact transparency itself is set in the file, not in php itself. Using a program like photoshop, you can go into the image options (example http://answers.yahoo.com/question/index?qid=20090430191631AA61iQJ )and set the exact RBG that you want for it.

    If you are having trouble displaying the files as they are meant to be, I am going to assume that you are doing some on the fly manipulation on the image – which is likely causing the transparency information to be lost.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Basically I have some variables that I don't want to preinitialize: originalTime = None
basically i have (state, state code) pairs, that are subsets of country [USA] ->
Basically I want to run a script checking for the existence of a certain
Basically what I need to do is write a function that takes in a
Basically I am wondering if it is possible to run a console script (.sh)
Basically from a database I am getting data that is formatted like this nameofproject101
Basically I have an iframe loaded that is accessed from the parent whenever it
Basically I am writing a simple bit of code to increment every one second
Basically, I have a main page (parent page) with a link that opens up
Basically this function is meant to store the height value of the element that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.