Hi Mark,
PNG and gif are different formats that offer some similar features...
PNG has a 8 bit mode which is limited to 256 colours like gif.
If you are using these you should be able to get it fairly closely
matched to the colour as you can set them both to selective and ensure
that exactly the same colours are used in that 256 palette.
However there is also a 24bit PNG which is similar to a JPG except it
has alpha channels.
AS to why they don't match up... a 24bit PNG using transparency will
show up fairly different to a gif if the colour is not web safe. Also a
PNG is rendered differently to a gif so there is no guarantee that even
an 8 bit gif will work.
May I suggest you switch over full to PNG if you intent to use it or
fully use gif...
The size different between 8bit PNG and gif is negligible and the
quality is arguably better.
Gif does support transparency though it does not anti-alias the edges at
all.
Hope this Helps
John
-----Original Message-----
From: web-dev-bounces+john.nicholson=email@hidden
[mailto:web-dev-bounces+john.nicholson=email@hidden] On
Behalf Of Mark Wheeler
Sent: 23 July 2007 14:04
To: Web Developers
Subject: Gif and Png matching problem
Hi,
I've not encountered this before, but I've just tried to put half of
one image as a png and the other half off the image as gif and they
don't match up. The colors are slightly off. This is for a web
layout. I need the transparency of the png but don't on the other
part of the image. As well, another png image is not matching up with
a css background color like it's gif sibling did before I switched
it out for the png. Again, I'm needing the png for it's
transparency. Is there a setting in Photoshop that I am missing that
makes the colors of the png the same as the gif? I'm just starting to
use png's more and am noticing that the png's are slightly lighter in
color then their gif counterparts.
Any help would be appreciated.
Thanks,
Mark
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Web-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/web-dev/email@hidden
This email sent to email@hidden