Printer Friendly Version Print this thread
Email this thread to a friend eMail this thread to a friend
Related Forum Posts
Featured Web Site Template

Hundreds More at Free Site Templates.com!

Web Site Partners
Sponsored Links
Jet City Software
 
Whos Here ?
Reflects user activity within the last 5 minutes
Moderator(s): g1smd
Member Message

Peter Caparelli
Joined: Sep 12, 2000
# Posts: 57

View the profile for Peter Caparelli Send Peter Caparelli a private message

Posted: 04/25/2001 09:52 am
Edit Message Delete Message Reply to this message

I just added a script to my site that randomly selects a transparent GIF from a list of GIFs to display on my home page each time it loads.

I made the GIF's myself. I use Hot Dog Pro, and I used the "Image Lab" super toolz to convert existing Jpeg's to Gifs, but it leaves a halo of grey pixels around the object that make the finished product look amateurish.

Can anyone tell me what is wrong, or give some tips in the best way to convert an existing Jpeg to a Gif?



xelA
Joined: Nov 24, 1999
# Posts: 1857

View the profile for xelA Send xelA a private message

Posted: 04/25/2001 11:34 am
Edit Message Delete Message Reply to this message

What is your intention for creating these gifs? are you making "shims" or are you trying to make an area around an image transparent?



baffled
Joined: Jul 12, 1999
# Posts: 2311

View the profile for baffled Send baffled a private message

Posted: 04/25/2001 12:47 pm
Edit Message Delete Message Reply to this message

I think its the later.

If I understand you correctly, you are converting JPG's to GIF, then simply making the background transparent? This usually won't work without some intermediate work on the graphic itself. JPG and GIF are both bitmap images, that is, they are made up of pixels of color. The naked eye may not notice it (which is the point and why it works), but the edge of the object isn't a perfect line. Its a jagged line with subtle shade variations from pixel to pixel that blend it into the background. These shades will be more pronounced when you convert a jpg's thousand or millions of colors to a 256 color gif--the computer won't map them all to the same color.

I don't know what Image Lab is. It its not a full graphics editing program, you will need photoshop, paintshop pro, fireworks, or some other graphics program that will let you edit the image. You can usually take care of halos by selecting the background with a tool, expanding it a few pixels to engulf the stray edge pixels, and then filling it with the color you want to use for the transparent color. You may even need to do some pixel by pixel doctoring.

Do the images HAVE to be transparent?



xelA
Joined: Nov 24, 1999
# Posts: 1857

View the profile for xelA Send xelA a private message

Posted: 04/25/2001 02:18 pm
Edit Message Delete Message Reply to this message

If you were to use Photoshop and insert a your website screencapture as a layer and then use a layer mask on the jpeg to let the background show through and then crop it to size you would get far better results.
[typos]

[This message has been edited by xelA (edited 04-25-2001).]


You are not permitted to post messages in this forum or topic, because of one or more of the following reasons:
  1. You have not yet logged in, or registered properly as a member
  2. You are a member, but no longer have posting rights.
  3. This is a private forum, for which you do not have permissions.

If you are a recent member, it's possible that you simply have not yet confirmed your account. Please check your email for a message entitled 'JimWorld Forums: Confirm Your Account' and follow the instructions contained within.

If you cannot find this message, click here to Re-Send it.

If you are still experiencing problem, please read the Login Assistance Article for some advice on what may be causing your login not to work properly.

Switch to Advanced Editor and ... Create a New Topic or Reply to this Thread

New posts Forum is locked
© 1995  ·  iWeb, Inc  ·  DBA JimWorld Productions