transparent (quick)

What is the most all around simple but efficient way of taking a gif picture,  lets say... a ball and putting that picture on a background seeing just the ball on the background... not the square of the other solid color that is around the ball... I need to make the color transparent.

I am making a pong game and I want a cool looking ball but i dont want that dang square around it...

Either an explanation, or a link to an easy to follow comprehensive tutorial would be very helpful...

Thank you for your time,

Facade
facadeAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
objectsConnect With a Mentor Commented:
if its on your disk then grab one of these tools to do the transparency locally:

http://www.htmlgoodies.com/tutors/transpar.html
0
 
CEHJCommented:
0
 
CEHJCommented:
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
objectsCommented:
Easiest is to simply create your gif with a transparent background in the first place.
0
 
facadeAuthor Commented:
objects: How would i just create the transparent gif backgroun in the first place? would i need a special program? Right now im just using paint to make my gifs.

CEHJ: im sorry but im mostly a beginner to this language. i don't quite understand how i would apply either of those methods. Which one should i use? in the second one do i need all that code just to do what i want to do?

plus i dont get how anywhere in either code i specify that i just want the background AROUND the ball, (the black square that borders the ball) to be transparent. Im sorry but can you please help simplify a little?

Thanks,

-Facade
0
 
objectsCommented:
0
 
CEHJCommented:
An easier option for you then - why don't you draw the ball

graphics.drawOval(0, 0, 15, 15);
0
 
objectsCommented:
> An easier option for you then

No easier than drawing an image
0
 
objectsCommented:
in fact its really more complicated
0
 
CEHJCommented:
I'm sorry but it is if the image doesn't happen to be transparent in the right places
0
 
facadeAuthor Commented:
objects: hmm, so i cant do it right off my c: drive? or can i? when it says "you should configure your web browser to load the next retrieved URL to local disk." what does it mean? how do i do this in ie? If i do just specify the path to c://ball.gif then the page comes up with the picture, but then when i click on it it says:

"TransWeb was unable to retrieve the image you specified because the URL you specified was not valid. Note that TransWeb only supports HTTP URLs; support for FTP URLs has not been implemented yet. Check to make sure you entered the URL correctly and try again."

What should i do?

-Facade
0
 
facadeAuthor Commented:
Thank you guys very much for your help. And that method of just making the image transparent in photoshop really works perfectly objects :)

Thanks again for your time

-Facade
0
 
objectsCommented:
Glad I could help :)
Let me know if you have further questions in the future.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.