|
|
Trouble creating a transparent GIF
|
|
|
|
Forum Regular
Join Date: May 2004
Location: France
Status:
Offline
|
|
Hello,
Example of my problem.
I don't have any trouble creating a transparent PNG with Photoshop.
But as you can see on the above exemple, when I'm saving for web (Gif format) the same picture after applying indexed colors mode, the text is pixellized and does not render well.
I've also tried to save for web from Illustrator, but still have this problem.
Thanx for your help.
|
|
|
|
|
|
|
|
|
Mac Enthusiast
Join Date: Mar 2000
Status:
Offline
|
|
Make sure the text has smoothing, the bottom layer is transparent, that and that you check Transparent and set the correct background color (#0099CC) in the "Save for web..." dialog.
|
|
|
|
|
|
|
|
|
Moderator
Join Date: Aug 2001
Location: Nobletucky
Status:
Offline
|
|
That's simply the nature of a transparent .gif. The PNG looks better because the PNG standard supports alpha-transparency. In laymen's terms...soft-edged transparency.
A transparent gif cannot do soft edges. It will always have a hard-edged transparency. Thus, you will always get "pixelated" text like that.
|
|
|
|
|
|
|
|
|
Mac Enthusiast
Join Date: Mar 2000
Status:
Offline
|
|
...provided that you need to use the picture against different backgrounds. In your case, you could get a nice, smooth look against #0099CC.
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Mar 2002
Location: Clogland
Status:
Offline
|
|
Might not help in this case, but check out the 'matte' option when publishing as a .gif.
|
|
|
|
|
|
|
|
|
Mac Enthusiast
Join Date: Mar 2000
Status:
Offline
|
|
I could imagine that's exactly it (which I erroneously refered to as "background color" in my first post).
|
|
|
|
|
|
|
|
|
Moderator
Join Date: Aug 2001
Location: Nobletucky
Status:
Offline
|
|
Originally Posted by cla
...provided that you need to use the picture against different backgrounds. In your case, you could get a nice, smooth look against #0099CC.
True. But, then, what's the point of using transparency?
|
|
|
|
|
|
|
|
|
Mac Enthusiast
Join Date: Mar 2000
Status:
Offline
|
|
Good question really... Web browsers rendering colors a tad bit differently wasn't uncommon in the early days of the web. Also if you have a complex background in the same shade, the technique allows for moving the transparent gif around to a greater extent (tricking the eye since it's easier to pick up a subtle difference in color if the divider is a straight line, which would be the case in a non-transparent gif). Also for creating nice effects by using half-tone transparency.
But anyway, you're right. I guess it's just an old habit of mine. And I shouldn't be speaking of "the early days of the web" since most browsers (read "browser with the biggest market share") doesn't even support more than one transparency bit.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|